|
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.WritingPofHandler.Complex
public static class WritingPofHandler.Complex
A Complex object represents the current complex data structure in the POF stream.
Constructor Summary | |
---|---|
WritingPofHandler.Complex(WritingPofHandler.Complex complexCurrent,
boolean fEncodePosition)
Construct a Complex object for a data collection or user type. |
|
WritingPofHandler.Complex(WritingPofHandler.Complex complexCurrent,
boolean fEncodePosition,
int nUniformTypeId)
Construct a Complex object for a uniformly-typed data collection. |
Method Summary | |
---|---|
int |
getUniformType()
If the object encoding is using uniform encoding, obtain the type id of the uniform type. |
boolean |
isSparse()
Determine if the position information is encoded with the values of the complex type, and if the Complex type is terminated in the POF stream with an illegal position (-1). |
boolean |
isUniform()
Determine if the object encoding within the Complex type is uniform. |
void |
onValue(int iPos)
Notify the Complex object that a value has been encountered. |
WritingPofHandler.Complex |
pop()
Pop this Complex object off the stack, returning the outer Complex object or null if there is none. |
Constructor Detail |
---|
public WritingPofHandler.Complex(WritingPofHandler.Complex complexCurrent, boolean fEncodePosition)
complexCurrent
- the current Complex object or nullfEncodePosition
- true to encode the position informationpublic WritingPofHandler.Complex(WritingPofHandler.Complex complexCurrent, boolean fEncodePosition, int nUniformTypeId)
complexCurrent
- the current Complex object or nullfEncodePosition
- true to encode the position informationnUniformTypeId
- the type identifier of the uniform typeMethod Detail |
---|
public void onValue(int iPos)
iPos
- the position that accomponied the valuepublic boolean isUniform()
public int getUniformType()
public boolean isSparse()
public WritingPofHandler.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 |