net.sourceforge.domian.repository
Class AbstractXStreamXmlFilePerEntityRepository.XStreamXmlFileEntityIterator<T>
java.lang.Object
net.sourceforge.domian.repository.AbstractXStreamXmlFilePerEntityRepository.XStreamXmlFileEntityIterator<T>
- All Implemented Interfaces:
- java.util.Iterator<T>
- Enclosing class:
- AbstractXStreamXmlFilePerEntityRepository<T extends Entity>
protected class AbstractXStreamXmlFilePerEntityRepository.XStreamXmlFileEntityIterator<T>
- extends java.lang.Object
- implements java.util.Iterator<T>
Custom iterator class for AbstractXStreamXmlFilePerEntityRepository
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iteratorSpecification
private Specification<T> iteratorSpecification
currentEntity
private T currentEntity
nextEntity
private T nextEntity
persistedEntityIterator
private java.util.Iterator<PersistentEntity> persistedEntityIterator
nextIsInvoked
private boolean nextIsInvoked
removeIsInvoked
private boolean removeIsInvoked
AbstractXStreamXmlFilePerEntityRepository.XStreamXmlFileEntityIterator
protected AbstractXStreamXmlFilePerEntityRepository.XStreamXmlFileEntityIterator(Specification<T> specification)
findNextEntity
protected void findNextEntity()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<T>
next
public T next()
- Specified by:
next
in interface java.util.Iterator<T>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<T>
Copyright © 2008-2010. All Rights Reserved.