edu.mit.ai.psg.traveler
Class ActivityRecordMethods.BiographyIterator

java.lang.Object
  |
  +--edu.mit.ai.psg.traveler.ActivityRecordMethods.IteratorBase
        |
        +--edu.mit.ai.psg.traveler.ActivityRecordMethods.BiographyIterator
Enclosing class:
ActivityRecordMethods

public static class ActivityRecordMethods.BiographyIterator
extends ActivityRecordMethods.IteratorBase

Iterator returned by ActivityRecordMethods.inBiographyIterator(boolean, boolean, boolean, boolean, boolean, edu.mit.ai.psg.traveler.SynchronizationRecord, java.util.List)


Fields inherited from class edu.mit.ai.psg.traveler.ActivityRecordMethods.IteratorBase
isAtEntrance, record, recordIsNext
 
Constructor Summary
ActivityRecordMethods.BiographyIterator(boolean iterateForward, boolean iterateAcquisitions, boolean iterateReleases, boolean includeNested, boolean startAtEntrance, SynchronizationRecord startRecord, List biography)
           
 
Method Summary
protected  void computeNext()
          method called by hasNext() and next() to compute the next activity record if the current record has already been returned
static SynchronizationRecord outermostSynchronizationRecord(SynchronizationRecord record)
           
 
Methods inherited from class edu.mit.ai.psg.traveler.ActivityRecordMethods.IteratorBase
hasNext, isAtEntrance, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityRecordMethods.BiographyIterator

public ActivityRecordMethods.BiographyIterator(boolean iterateForward,
                                               boolean iterateAcquisitions,
                                               boolean iterateReleases,
                                               boolean includeNested,
                                               boolean startAtEntrance,
                                               SynchronizationRecord startRecord,
                                               List biography)
Method Detail

outermostSynchronizationRecord

public static SynchronizationRecord outermostSynchronizationRecord(SynchronizationRecord record)

computeNext

protected void computeNext()
Description copied from class: ActivityRecordMethods.IteratorBase
method called by hasNext() and next() to compute the next activity record if the current record has already been returned
Overrides:
computeNext in class ActivityRecordMethods.IteratorBase

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu