|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.valuegenerator.ValueGenerationBlock
public class ValueGenerationBlock
Representation of a block of values.
| Constructor Summary | |
|---|---|
ValueGenerationBlock(java.util.List vals)
Constructor. |
|
ValueGenerationBlock(java.lang.Object[] vals)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addBlock(ValueGenerationBlock block)
Method to append a block onto this block. |
org.datanucleus.store.valuegenerator.ValueGeneration |
current()
Accessor for the current value. |
boolean |
hasNext()
Accessor for whether there are more value remaining in the block. |
org.datanucleus.store.valuegenerator.ValueGeneration |
next()
Accessor for the next value, or null if block values exhausted |
java.lang.String |
toString()
Stringify method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValueGenerationBlock(java.lang.Object[] vals)
vals - The block of objects that will be considered the "values"public ValueGenerationBlock(java.util.List vals)
vals - The list of objects that will be considered the "values"| Method Detail |
|---|
public org.datanucleus.store.valuegenerator.ValueGeneration current()
java.util.NoSuchElementException - Thrown if no current valuepublic org.datanucleus.store.valuegenerator.ValueGeneration next()
public boolean hasNext()
public void addBlock(ValueGenerationBlock block)
block - The other blockpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||