Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    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

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(int nType)` Return the deserialized value which this PofValue represents.
`void` | `setValue(java.lang.Object oValue)` Update this PofValue. 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, getValue, getValue, 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(int nType)

  Return the deserialized value which this PofValue represents.

  Specified by:
    `getValue` in interface `PofValue`
  Overrides:
    `getValue` in class `AbstractPofValue`
  Parameters:
    `nType` - the required Pof type of the returned value or `PofConstants.T_UNKNOWN` if the type is to be inferred from the serialized state
  Returns:
    the deserialized value

### setValue

    public void setValue(java.lang.Object oValue)

  Update this PofValue.

  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

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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