Class WritingPofHandler.ComplexMap
A ComplexMap object represents a map data structure (with uniform keys or with uniform keys and values) in the POF stream.
Inherited Members
Namespace: Tangosol.IO.Pof
Assembly: Coherence.dll
Syntax
public class WritingPofHandler.ComplexMap : WritingPofHandler.Complex
Constructors
ComplexMap(Complex, int)
Construct a ComplexMap object for maps with uniformly-typed keys.
Declaration
public ComplexMap(WritingPofHandler.Complex complexCurrent, int uniformKeyTypeId)
Parameters
Type | Name | Description |
---|---|---|
WritingPofHandler.Complex | complexCurrent | The current Complex object or |
int | uniformKeyTypeId | The type identifier of the uniform type. |
ComplexMap(Complex, int, int)
Construct a ComplexMap object for maps with uniformly-typed keys and values.
Declaration
public ComplexMap(WritingPofHandler.Complex complexCurrent, int uniformKeyTypeId, int uniformValTypeId)
Parameters
Type | Name | Description |
---|---|---|
WritingPofHandler.Complex | complexCurrent | The current Complex object or |
int | uniformKeyTypeId | The type identifier of the uniform type for keys in the map. |
int | uniformValTypeId | The type identifier of the uniform type for values in the map. |
Properties
IsUniform
Determine if the object encoding within the Complex type is uniform.
Declaration
public override bool IsUniform { get; }
Property Value
Type | Description |
---|---|
bool | true if values within the Complex type are of a uniform type and are encoded uniformly. |
Overrides
UniformType
If the object encoding is using uniform encoding, obtain the type id of the uniform type.
Declaration
public override int UniformType { get; }
Property Value
Type | Description |
---|---|
int | The type id used for the uniform encoding. |
Overrides
Methods
OnValue(int)
Notify the Complex object that a value has been encountered.
Declaration
public override void OnValue(int position)
Parameters
Type | Name | Description |
---|---|---|
int | position | The position that accomponied the value. |