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

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

public static class ActivityRecordMethods.SuperactivityIterator
extends ActivityRecordMethods.IteratorBase

Iterator returned by ActivityRecordMethods.superactivityIterator(boolean, edu.mit.ai.psg.traveler.ActivityRecord, edu.mit.ai.psg.utilities.IUnaryPredicate)


Fields inherited from class edu.mit.ai.psg.traveler.ActivityRecordMethods.IteratorBase
isAtEntrance, record, recordIsNext
 
Constructor Summary
ActivityRecordMethods.SuperactivityIterator(boolean startRecordIsFirst, ActivityRecord startRecord, IUnaryPredicate traverseOutsidePredicate)
           
 
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
 
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.SuperactivityIterator

public ActivityRecordMethods.SuperactivityIterator(boolean startRecordIsFirst,
                                                   ActivityRecord startRecord,
                                                   IUnaryPredicate traverseOutsidePredicate)
Method Detail

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