org.entityfs.util.itr
Class AbstractNoLockingIterator
java.lang.Object
org.entityfs.util.itr.AbstractLockingIterator
org.entityfs.util.itr.AbstractNoLockingIterator
- All Implemented Interfaces:
- Iterator<EntityView>, LockingIterator<EntityView>
- Direct Known Subclasses:
- NoLockingDepthFirstIterator, NoLockingDepthLastIterator
public abstract class AbstractNoLockingIterator
- extends AbstractLockingIterator
- implements LockingIterator<EntityView>
An abstract base class for non-locking LockingIterator
:s.
EntityFS iterators are not thread safe. Don't use them concurrently from
several threads without synchronizing access to them.
- Since:
- 1.0
- Author:
- Karl Gustafsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNoLockingIterator
protected AbstractNoLockingIterator(EntityListable dv,
boolean depthLast,
Filter<? super EntityView> filter)
next
public EntityView next()
- Specified by:
next
in interface Iterator<EntityView>
remove
public void remove()
- Specified by:
remove
in interface Iterator<EntityView>
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<EntityView>