ZAlgebraObjectCollection

constructor(byteDataSize: Int)(source)

Initializes a new instance of ZAlgebraObjectCollection with a specified data size.

byteDataSize The total number of elements allocated in the collection.


constructor(dataType: ZDataType, count: Int)(source)

Secondary constructor for the ZAlgebraObjectCollection class that initializes the collection with a specified data type and count of algebraic objects.

This constructor calculates the data size by multiplying the element size of the given data type with the specified count of objects.

Parameters

dataType

The data type of the objects that the collection will manage.

count

The number of instances of the algebraic object to be managed by the collection.