|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.BitHelper
com.tangosol.util.ExternalizableHelper
com.tangosol.io.pof.reflect.AbstractPofValue
com.tangosol.io.pof.reflect.SimplePofValue
com.tangosol.io.pof.reflect.PofSparseArray.NilPofValue
protected static class PofSparseArray.NilPofValue
NilPofValue represents a value that does not exist in the original POF stream.
Field Summary |
---|
Fields inherited from class com.tangosol.io.pof.reflect.AbstractPofValue |
---|
m_arrayRefs, m_nType, m_oValue |
Constructor Summary | |
---|---|
PofSparseArray.NilPofValue(PofValue valueParent, PofContext ctx, int of, int nType, int nIndex) Construct a NilPofValue instance. |
Method Summary | |
---|---|
ReadBuffer |
getSerializedValue() Return this value's serialized form. |
java.lang.Object |
getValue(int nType) Return the deserialized value which this PofValue represents. |
void |
setValue(java.lang.Object oValue) Update this PofValue. |
Methods inherited from class com.tangosol.io.pof.reflect.SimplePofValue |
---|
getChild |
Methods inherited from class com.tangosol.io.pof.reflect.AbstractPofValue |
---|
applyChanges, ensureReferenceRegistry, getBigDecimal, getBigInteger, getBoolean, getBooleanArray, getByte, getByteArray, getChanges, getChar, getCharArray, getCollection, getDate, getDirtyBytesCount, getDouble, getDoubleArray, getFloat, getFloatArray, getInt, getIntArray, getLong, getLongArray, getMap, getObjectArray, getOffset, getOriginalBuffer, getParent, getPofContext, getPropertyIndex, getRoot, getShort, getShortArray, getSize, getString, getTypeId, getValue, getValue, getValueBuffer, incrementDirtyBytesCount, incrementDirtyValuesCount, isDirty, isRoot, isUniformEncoded, lookupIdentity, registerIdentity, setDecorations, setDirty, setOriginalBuffer, setUniformEncoded |
Methods inherited from class com.tangosol.util.BitHelper |
---|
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, toBitString, toBitString, toBitString, toBytes, toBytes, toBytes, toBytes, toInt, toInt, toLong, toLong |
Constructor Detail |
---|
public PofSparseArray.NilPofValue(PofValue valueParent, PofContext ctx, int of, int nType, int nIndex)
valueParent
- parent value within the POF streamctx
- POF context to use when reading or writing propertiesof
- offset of this value from the beginning of POF streamnType
- POF type identifier for this valuenIndex
- index of this value within the parent sparse arrayMethod Detail |
---|
public java.lang.Object getValue(int nType)
Note: For primitive types such as int or boolean, the POF type is not stored in the POF stream. Therefore, for primitive types, the type must be explicitly specified with the nType parameter.
getValue
in interface PofValue
getValue
in class AbstractPofValue
nType
- the required POF type of the returned value or PofConstants.T_UNKNOWN
if the type is to be inferred from the serialized statepublic void setValue(java.lang.Object oValue)
The changes made using this method will be immediately reflected in the result of PofValue.getValue()
method, but will not be applied to the underlying POF stream until the PofValue.applyChanges()
method is invoked on the root PofValue.
setValue
in interface PofValue
setValue
in class AbstractPofValue
oValue
- new deserialized value for this PofValuepublic ReadBuffer getSerializedValue()
getSerializedValue
in class AbstractPofValue
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |