Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


com.tangosol.io.pof.reflect
Class SimplePofValue

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

All Implemented Interfaces:
PofValue
Direct Known Subclasses:
PofSparseArray.NilPofValue

public class SimplePofValue
extends AbstractPofValue

SimplePofValue represents POF values which do not contain children (e.g. numeric values, strings, etc.)

Since:
Coherence 3.5
Author:
as 2009.02.12

Field Summary

 

Fields inherited from class com.tangosol.io.pof.reflect.AbstractPofValue
m_nType, m_oValue

 

Constructor Summary
SimplePofValue(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType)
          Construct a SimplePofValue instance wrapping the supplied buffer.

 

Method Summary
 PofValue getChild(int nIndex)
          Locate a child PofValue contained within this PofValue.

 

Methods inherited from class com.tangosol.io.pof.reflect.AbstractPofValue
applyChanges, getChanges, getDirtyBytesCount, getOffset, getOriginalBuffer, getParent, getPofContext, getPropertyIndex, getRoot, getSerializedValue, getSize, getTypeId, getValue, getValue, getValue, getValueBuffer, incrementDirtyBytesCount, incrementDirtyValuesCount, isDirty, isRoot, isUniformEncoded, setDecorations, setDirty, setOriginalBuffer, setUniformEncoded, setValue

 

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

SimplePofValue

public SimplePofValue(PofValue valueParent,
                      ReadBuffer bufValue,
                      PofContext ctx,
                      int of,
                      int nType)
Construct a SimplePofValue instance wrapping the supplied buffer.
Parameters:
valueParent - parent value within the POF stream
bufValue - buffer containing POF representation of this value
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

Method Detail

getChild

public PofValue getChild(int nIndex)
Locate a child PofValue contained within this PofValue. <p/> Note: the returned PofValue could represent a non-existent (null) value.
Parameters:
nIndex - index of the child value
Returns:
the child PofValue

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.