Skip navigation links

Oracle® Coherence Java API Reference
v3.5.1

E15583-01


com.tangosol.io.pof.reflect
Class PofSparseArray.NilPofValue

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.BitHelper
          extended by com.tangosol.util.ExternalizableHelper
              extended by com.tangosol.io.pof.reflect.AbstractPofValue
                  extended by com.tangosol.io.pof.reflect.SimplePofValue
                      extended by com.tangosol.io.pof.reflect.PofSparseArray.NilPofValue

All Implemented Interfaces:
PofValue
Enclosing class:
PofSparseArray

protected static class PofSparseArray.NilPofValue
extends SimplePofValue

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_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()
          Return the deserialized value which this PofValue represents.
 void setValue(java.lang.Object oValue)
          Update this PofValue. <p/> 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.

 

Methods inherited from class com.tangosol.io.pof.reflect.SimplePofValue
getChild

 

Methods inherited from class com.tangosol.io.pof.reflect.AbstractPofValue
applyChanges, getChanges, getDirtyBytesCount, getOffset, getOriginalBuffer, getParent, getPofContext, getPropertyIndex, getRoot, getSize, getTypeId, getValueBuffer, incrementDirtyBytesCount, incrementDirtyValuesCount, isDirty, isRoot, isUniformEncoded, 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

 

Constructor Detail

PofSparseArray.NilPofValue

public PofSparseArray.NilPofValue(PofValue valueParent,
                                  PofContext ctx,
                                  int of,
                                  int nType,
                                  int nIndex)
Construct a NilPofValue instance.
Parameters:
valueParent - parent value within the POF stream
ctx - POF context to use when reading or writing properties
of - offset of this value from the beginning of POF stream
nType - POF type identifier for this value
nIndex - index of this value within the parent sparse array

Method Detail

getValue

public java.lang.Object getValue()
Return the deserialized value which this PofValue represents.
Specified by:
getValue in interface PofValue
Overrides:
getValue in class AbstractPofValue
Returns:
the deserialized value

setValue

public void setValue(java.lang.Object oValue)
Update this PofValue. <p/> 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.
Specified by:
setValue in interface PofValue
Overrides:
setValue in class AbstractPofValue
Parameters:
oValue - new deserialized value for this PofValue

getSerializedValue

public ReadBuffer getSerializedValue()
Return this value's serialized form.
Overrides:
getSerializedValue in class AbstractPofValue
Returns:
this value's serialized form

Skip navigation links

Oracle® Coherence Java API Reference
v3.5.1

E15583-01


Copyright © 2000, 2009, Oracle. All rights reserved.