Collectionclass

systype.h[142]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

The native collection type - this is the base class for lists, vectors, and other objects that represent collections of values.

intrinsic class Collection :   Object

Superclass Tree   (in declaration order)

Collection
Object

Subclass Tree  

Collection
List
LookupTable
WeakRefLookupTable
Vector
AnonFuncPtr

Global Objects  

(none)

Summary of Properties  

(none)

Summary of Methods  

createIterator createLiveIterator

Inherited from Object :
callInherited forEach getPropList getPropParams getSuperclassList isClass isTransient mapAll ofKind propDefined propInherited propType valToSymbol

Properties  

(none)

Methods  

createIterator ( )OVERRIDDEN

systype.h[151]

Create an iterator for the collection. This returns a new Iterator object that can be used to iterate over the values in the collection. The Iterator will use a snapshot of the collection that will never change, even if the collection is changed after the iterator is created.

createLiveIterator ( )OVERRIDDEN

systype.h[162]

Create a “live iterator” for the collection. This returns a new Iterator object that refers directly to the original collection; if the original collection changes, the iterator will reflect the changes in its iteration. As a result, the iterator is not guaranteed to visit all of the elements in the collection if the collection changes during the course of the iteration. If consistent results are required, use createIterator() instead.

Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1