Show / Hide Table of Contents

Class WritingPofHandler.ComplexMap

A ComplexMap object represents a map data structure (with uniform keys or with uniform keys and values) in the POF stream.

Inheritance
object
WritingPofHandler.Complex
WritingPofHandler.ComplexMap
Inherited Members
WritingPofHandler.Complex.IsSparse
WritingPofHandler.Complex.Pop()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 null.

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 null.

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
WritingPofHandler.Complex.IsUniform

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
WritingPofHandler.Complex.UniformType

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.

Overrides
WritingPofHandler.Complex.OnValue(int)
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.