|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tangosol.util.Base
com.tangosol.io.pof.ValidatingPofHandler.Complex
public class ValidatingPofHandler.Complex
A Complex object represents the current complex data structure in the POF stream.
Constructor Summary | |
---|---|
ValidatingPofHandler.Complex(ValidatingPofHandler.Complex complexCurrent,
int cElements,
boolean fContiguous)
Construct a Complex object for a data collection or user type. |
|
ValidatingPofHandler.Complex(ValidatingPofHandler.Complex complexCurrent,
int cElements,
boolean fContiguous,
int nUniformTypeId)
Construct a Complex object for a uniformly-typed data collection. |
Method Summary | |
---|---|
void |
checkPosition(int iPos)
Notify the Complex object that a value has been encountered. |
int |
getElementCount()
Obtain the total element count. |
int |
getLastPosition()
Obtain the last known position, which is the index (or property number) of the most recent value. |
int |
getNextPosition()
For complex values with contiguous values, obtain the next position. |
int |
getUniformType()
If the object encoding is using uniform encoding, obtain the type id of the uniform type. |
boolean |
isContiguous()
Determine if the elements are contiguous. |
boolean |
isUniform()
Determine if the object encoding within the Complex type is uniform. |
ValidatingPofHandler.Complex |
pop()
Pop this Complex object off the stack, returning the outer Complex object or null if there is none. |
Constructor Detail |
---|
public ValidatingPofHandler.Complex(ValidatingPofHandler.Complex complexCurrent, int cElements, boolean fContiguous)
complexCurrent
- the current Complex object or nullcElements
- the total (or maximum) number of elementsfContiguous
- true if the elements are contiguouspublic ValidatingPofHandler.Complex(ValidatingPofHandler.Complex complexCurrent, int cElements, boolean fContiguous, int nUniformTypeId)
complexCurrent
- the current Complex object or nullcElements
- the total (or maximum) number of elementsfContiguous
- true if the elements are contiguousnUniformTypeId
- the type identifier of the uniform typeMethod Detail |
---|
public void checkPosition(int iPos)
iPos
- the position that accomponied the valuepublic int getLastPosition()
public int getNextPosition()
public int getElementCount()
public boolean isContiguous()
public boolean isUniform()
public int getUniformType()
public ValidatingPofHandler.Complex pop()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |