|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.generic.commonapi.factory.IdFactoryImpl.DistributedIdIterator
Is an Id iterator, for building up to networkSize Id. All Id are equidistant between two consecutive Id.
Constructor Summary | |
IdFactoryImpl.DistributedIdIterator(int networkSize,
Id initialValue,
Id chunkValue)
Initialize this instance with the specified values. |
Method Summary | |
boolean |
hasNext()
Test if all Id have been built. |
java.lang.Object |
next()
The next Id or null if all networkSize Id has been generated. |
void |
remove()
This method is not implemented and throws a NoSuchMethodError error always. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IdFactoryImpl.DistributedIdIterator(int networkSize, Id initialValue, Id chunkValue)
networkSize
- Number of Id to build.initialValue
- Initial Id value.chunkValue
- Increment value between two consecutive Ids.Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
Iterator.hasNext()
public java.lang.Object next()
next
in interface java.util.Iterator
Iterator.next()
public void remove()
remove
in interface java.util.Iterator
java.lang.NoSuchMethodError
- always.Iterator.remove()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |