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 PofUniformSparseArray

    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.ComplexPofValue
                          com.tangosol.io.pof.reflect.PofSparseArray
                              com.tangosol.io.pof.reflect.PofUniformSparseArray

All Implemented Interfaces:
  PofValue

    public class PofUniformSparseArray

extends PofSparseArray

PofUniformSparseArray is `PofValue` implementation for uniform sparse arrays.

Since:
  Coherence 3.5
Author:
  as 2009.03.06

Nested Class Summary

Nested classes/interfaces inherited from class com.tangosol.io.pof.reflect.PofSparseArray
`PofSparseArray.NilPofValue`

Field Summary

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

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

Method Summary
`protected PofSparseArray.NilPofValue` | `instantiateNilValue(int of, int nIndex)` Instantiate a `PofSparseArray.NilPofValue` (factory method).

Methods inherited from class com.tangosol.io.pof.reflect.PofSparseArray
`findChildInternal`

Methods inherited from class com.tangosol.io.pof.reflect.ComplexPofValue
`extractChild, findChild, getChild, getChildrenIterator, getLastChildIndex, getUniformElementType, isUniformCollection, setUniformElementType, skipChild`

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

### PofUniformSparseArray

    public PofUniformSparseArray(PofValue valueParent,
                                 ReadBuffer bufValue,
                                 PofContext ctx,
                                 int of,
                                 int nType,
                                 int ofChildren,
                                 int nElementType)

  Construct a PofUniformSparseArray 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
    `ofChildren` - offset of the first child element within this value
    `nElementType` - a POF type identifier for this value's elements

Method Detail

### instantiateNilValue

    protected PofSparseArray.NilPofValue instantiateNilValue(int of,
                                                             int nIndex)

  Instantiate a `PofSparseArray.NilPofValue` (factory method).

  Overrides:
    `instantiateNilValue` in class `PofSparseArray`
  Parameters:
    `of` - offset this value would be at if it existed
    `nIndex` - index of this value within the parent sparse array
  Returns:
    a NilPofValue instance

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.