Switch to: V10V9V8V7V6V5

VArraySet Class: Construction Methods

VArraySet.VArraySet()

Declaration:

VArraySet( inCount as Integer )

Parameters:

  • inCount - The initial size of ArraySet.

Description:

Constructor. Creates an ArraySet with the specified reserved size.

Note: inCount is not the maximum limit. It is just an initial size. If the ArraySet requires more space then it reallocates more RAM automatically.

Example:

dim as1
as1 = new VArraySet( 50 )

VArraySet.VArraySet()

Declaration:

VArraySet( inArraySet as VArraySet )

Parameters:

  • inArraySet - Another ArraySet

Description:

Copy constructor. Creates a new ArraySet from the given inArraySet. The new ArraySet is an exact copy of the inArraySet.

Example:

dim as2
as2 = new VArraySet( as1 )

VArraySet.VArraySet()

Declaration:

VArraySet( inBitSet as VBitSet )

Parameters:

  • inBitSet - The BitSet.

Description:

Constructor. Creates a new ArraySet from the given inBitSet. The ArraySet contains the same items as inBitSet.

Example:

dim as3
as3 = new VArraySet( bitSet1 )