edu.mit.ai.psg.traveler
Interface ActivityRecordMethods.Iterator

All Known Implementing Classes:
ActivityRecordMethods.IteratorBase
Enclosing class:
ActivityRecordMethods

public static interface ActivityRecordMethods.Iterator
extends Iterator


Method Summary
 boolean isAtEntrance()
          for iterators that return each activity twice, once for when the thread entered the activity, and once for when it exited.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

isAtEntrance

public boolean isAtEntrance()
for iterators that return each activity twice, once for when the thread entered the activity, and once for when it exited. isAtEntrance returns true if the activity to be returned next will be returned for its entrance.
Throws:
NoSuchElementException - if there are no more activities

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu