Class PofUniformSparseArray
PofUniformSparseArray is a IPofValue implementation for uniform sparse arrays.
Implements
Inherited Members
Namespace: Tangosol.IO.Pof.Reflection
Assembly: Coherence.dll
Syntax
public class PofUniformSparseArray : PofSparseArray, IPofValue
Constructors
PofUniformSparseArray(IPofValue, Binary, IPofContext, int, int, int, int)
Construct a PofUniformSparseArray instance wrapping the supplied binary.
Declaration
public PofUniformSparseArray(IPofValue valueParent, Binary binValue, IPofContext ctx, int of, int nType, int ofChildren, int nElementType)
Parameters
Type | Name | Description |
---|---|---|
IPofValue | valueParent | Parent value within the POF stream. |
Binary | binValue | Binary representation of this value. |
IPofContext | ctx | POF context to use when reading or writing properties. |
int | of | Offset of this value from the beginning of POF stream. |
int | nType | POF type identifier for this value. |
int | ofChildren | Offset of the first child element within this value. |
int | nElementType | A POF type identifier for this value's elements. |
Methods
InstantiateNullValue(int, int)
Instantiate a PofSparseArray.NilPofValue (factory method).
Declaration
protected override PofSparseArray.NilPofValue InstantiateNullValue(int of, int nIndex)
Parameters
Type | Name | Description |
---|---|---|
int | of | Offset this value would be at if it existed. |
int | nIndex | Index of this value within the parent sparse array. |
Returns
Type | Description |
---|---|
PofSparseArray.NilPofValue | An instance of PofSparseArray.NilPofValue. |