org.entityfs.util.itr
Class NoLockingDepthLastIterator
java.lang.Object
org.entityfs.util.itr.AbstractLockingIterator
org.entityfs.util.itr.AbstractNoLockingIterator
org.entityfs.util.itr.NoLockingDepthLastIterator
- All Implemented Interfaces:
- Iterator<EntityView>, DepthFirstIterator<EntityView>, LockingDepthFirstIterator<EntityView>, LockingIterator<EntityView>
public class NoLockingDepthLastIterator
- extends AbstractNoLockingIterator
- implements LockingDepthFirstIterator<EntityView>
This is a depth last iterator that does not lock the returned entities. It
implements the LockingIterator
interface anyway.
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 |
NoLockingDepthLastIterator
public NoLockingDepthLastIterator(EntityListable el)
- Create a depth last iterator on the supplied directory.
- Parameters:
el
- The source for entities.
NoLockingDepthLastIterator
public NoLockingDepthLastIterator(EntityListable el,
Filter<? super EntityView> filter)
- Create a depth last iterator on the supplied directory that will only
return elements that pass the filter.
- Parameters:
el
- The source for entities.filter
- The filter.