| |
|
| java.lang.Object org.jpox.store.poid.PoidBlock
PoidBlock | public class PoidBlock implements Serializable(Code) | | Representation of a block of ids.
version: $Revision: 1.3 $ |
Method Summary | |
public void | addBlock(PoidBlock block) Method to append a block onto this block. | public Poid | current() Accessor for the current Poid. | public boolean | hasNext() Accessor for whether there are more elements remaining in the block. | public Poid | next() | public String | toString() Stringify method. |
PoidBlock | public PoidBlock(Object[] oid)(Code) | | Constructor for PoidBlock.
Parameters: oid - The block of objects that will be considered the "IDs" |
PoidBlock | public PoidBlock(List oid)(Code) | | Constructor for PoIdBlock.
Parameters: oid - The list of objects that will be considered the "IDs" |
addBlock | public void addBlock(PoidBlock block)(Code) | | Method to append a block onto this block.
This is used where we have some ids left, and we want to allocate more
to go into this block.
Parameters: block - The other block |
hasNext | public boolean hasNext()(Code) | | Accessor for whether there are more elements remaining in the block.
True when has more elements |
next | public Poid next()(Code) | | Accessor for the next Poid, or null if block ids exhausted
The next POID |
toString | public String toString()(Code) | | Stringify method.
A string version of this object |
|
|
|