Show / Hide Table of Contents

Class WritingPofHandler.Complex

A Complex object represents the current complex data structure in the POF stream.

Inheritance
object
WritingPofHandler.Complex
WritingPofHandler.ComplexMap
Inherited Members
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.Complex

Constructors

Complex(Complex, bool)

Construct a Complex object for a data collection or user type.

Declaration
public Complex(WritingPofHandler.Complex complexCurrent, bool encodePosition)
Parameters
Type Name Description
WritingPofHandler.Complex complexCurrent

The current Complex object or null.

bool encodePosition

true to encode the position information.

Complex(Complex, bool, int)

Construct a Complex object for a uniformly-typed data collection.

Declaration
public Complex(WritingPofHandler.Complex complexCurrent, bool encodePosition, int uniformTypeId)
Parameters
Type Name Description
WritingPofHandler.Complex complexCurrent

The current Complex object or null.

bool encodePosition

true to encode the position information.

int uniformTypeId

The type identifier of the uniform type.

Properties

IsSparse

Determine if the position information is encoded with the values of the complex type, and if the Complex type is terminated in the POF stream with an illegal position (-1).

Declaration
public virtual bool IsSparse { get; }
Property Value
Type Description
bool

true iff the complex value is a sparse type.

IsUniform

Determine if the object encoding within the Complex type is uniform.

Declaration
public virtual bool IsUniform { get; }
Property Value
Type Description
bool

true if values within the Complex type are of a uniform type and are encoded uniformly.

UniformType

If the object encoding is using uniform encoding, obtain the type id of the uniform type.

Declaration
public virtual int UniformType { get; }
Property Value
Type Description
int

The type id used for the uniform encoding.

Methods

OnValue(int)

Notify the Complex object that a value has been encountered.

Declaration
public virtual void OnValue(int position)
Parameters
Type Name Description
int position

The position that accomponied the value.

Pop()

Pop this Complex object off the stack, returning the outer Complex object or null if there is none.

Declaration
public virtual WritingPofHandler.Complex Pop()
Returns
Type Description
WritingPofHandler.Complex

The outer Complex object or null if there is none.

In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.