Skip navigation links

Oracle® Coherence Java API Reference

Class PofArray

  extended by com.tangosol.util.Base
      extended by com.tangosol.util.BitHelper
          extended by com.tangosol.util.ExternalizableHelper
              extended by
                  extended by
                      extended by

All Implemented Interfaces:
Direct Known Subclasses:
PofCollection, PofUniformArray

public class PofArray
extends ComplexPofValue

PofArray is a PofValue implementation for arrays.

Coherence 3.5
as 2009.03.06

Field Summary


Fields inherited from class
m_nType, m_oValue


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


Method Summary
protected  PofValue findChildInternal(int nIndex, int ofStart, int iStart)
          Find the child value with the specified index.
 int getLength()
          Return the length of this array.


Methods inherited from class
extractChild, findChild, getChild, getChildrenIterator, getLastChildIndex, getUniformElementType, isUniformCollection, setUniformElementType, skipChild


Methods inherited from class
applyChanges, 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, getSerializedValue, getShort, getShortArray, getSize, getString, 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


public PofArray(PofValue valueParent,
                ReadBuffer bufValue,
                PofContext ctx,
                int of,
                int nType,
                int ofChildren,
                int cElements)
Construct a PofArray instance wrapping the supplied buffer.
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
ofChildren - offset of the first child element within this value
cElements - the length of this array

Method Detail


public int getLength()
Return the length of this array.
the length of this array


protected PofValue findChildInternal(int nIndex,
                                     int ofStart,
                                     int iStart)
Find the child value with the specified index.
Specified by:
findChildInternal in class ComplexPofValue
nIndex - index of the child value to find
ofStart - offset within the parent buffer to start search from
iStart - index of the child value to start search from
the child value

Skip navigation links

Oracle® Coherence Java API Reference


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