net.sourceforge.domian.repository
Class InMemoryRepository.InMemoryRepositoryIterator<V extends Entity,T extends Entity>

java.lang.Object
  extended by net.sourceforge.domian.repository.HashSetRepository.HashSetRepositoryIterator<V,T>
      extended by net.sourceforge.domian.repository.InMemoryRepository.InMemoryRepositoryIterator<V,T>
All Implemented Interfaces:
java.util.Iterator<V>
Enclosing class:
InMemoryRepository<T extends Entity>

protected static class InMemoryRepository.InMemoryRepositoryIterator<V extends Entity,T extends Entity>
extends HashSetRepository.HashSetRepositoryIterator<V,T>

Inner iterator class for InMemoryRepository.


Field Summary
protected  InMemoryRepository<T> repository
           
 
Fields inherited from class net.sourceforge.domian.repository.HashSetRepository.HashSetRepositoryIterator
currentEntity, entityIterator, nextEntity, nextIsInvoked, removeIsInvoked, specification
 
Constructor Summary
protected InMemoryRepository.InMemoryRepositoryIterator()
           
protected InMemoryRepository.InMemoryRepositoryIterator(InMemoryRepository<T> repository, Specification<V> specification)
           
 
Method Summary
 void remove()
           
 
Methods inherited from class net.sourceforge.domian.repository.HashSetRepository.HashSetRepositoryIterator
findNextEntity, hasNext, next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repository

protected InMemoryRepository<T extends Entity> repository
Constructor Detail

InMemoryRepository.InMemoryRepositoryIterator

protected InMemoryRepository.InMemoryRepositoryIterator()

InMemoryRepository.InMemoryRepositoryIterator

protected InMemoryRepository.InMemoryRepositoryIterator(InMemoryRepository<T> repository,
                                                        Specification<V> specification)
Method Detail

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<V extends Entity>
Overrides:
remove in class HashSetRepository.HashSetRepositoryIterator<V extends Entity,T extends Entity>


Copyright © 2006-2010. All Rights Reserved.