public class ValueGenerationBlock extends Object implements Serializable
Constructor and Description |
---|
ValueGenerationBlock(List oid)
Constructor.
|
ValueGenerationBlock(Object[] values)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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 values remaining in the block.
|
org.datanucleus.store.valuegenerator.ValueGeneration |
next()
Accessor for the next value, or null if block values exhausted
|
String |
toString()
Stringify method.
|
public ValueGenerationBlock(Object[] values)
values
- The block of objects that will be considered the "values"public ValueGenerationBlock(List oid)
oid
- The list of objects that will be considered the "values"public org.datanucleus.store.valuegenerator.ValueGeneration current()
NoSuchElementException
- Thrown if no current valuepublic org.datanucleus.store.valuegenerator.ValueGeneration next()
public boolean hasNext()
public void addBlock(ValueGenerationBlock block)
block
- The other blockCopyright © 2021. All rights reserved.