TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class EmptySet in Tinman.Core.Collections

sealed class EmptySet with <T>  
  extends BagConstBase<T>

Public / Attributes

Count

The number of elements in this collection.

public override property Count { get }
type int32
value [>=0] The number of elements.
implements BagConstBase.Count

Public / Methods

Contains

Returns if this collection contains the given element.

[Pure]
public override method Contains (T element)
type bool
params element The element.
returns true if element is contained in this collection, false if not.
implements BagConstBase.Contains

ContainsAll

Returns if this collection contains all given elements.

public method ContainsAll (IEnumerable<T> elements)
type bool
params elements [not-null] The elements.
returns true if all elements are contained in this collection, false if not.
inherited BagConstBase.ContainsAll

First

Returns the first enumerated value.

[Pure]
public virtual method First ()
type T
returns The first enumerated value.
inherited BagConstBase.First

Exceptions:

GetEnumerator

public override method GetEnumerator ()
type IEnumerator<T>
implements EnumerableBase.GetEnumerator

Last

Returns the last enumerated value.

[Pure]
public virtual method Last ()
type T
returns The last enumerated value.
inherited BagConstBase.Last

Exceptions:

ToArray

Returns the elements of this enumerable object as a fresh array.

[Pure]
public method ToArray ()
type T[]
returns [not-null] The array of elements.
inherited BagConstBase.ToArray

ToArrayCopy

Returns the elements of this collection as an array.

public override method ToArrayCopy (T[] array, int32 offset = 0)
type T[]
params array [not-null] The output array.
  offset [>=0] Offset into array. Defaults to 0.
returns [not-null] The filled array.
implements BagConstBase.ToArrayCopy

Remarks:

The elements in this collection will be copied into the given array, starting at the array index specified by offset.

ToArrayList

Returns the elements of this enumerable object as a list.

[Pure]
public virtual method ToArrayList ()
type IArrayVector<T>
returns [not-null] The list of elements.
inherited BagConstBase.ToArrayList

ToList

Returns the elements of this enumerable object as a list.

[Pure]
public virtual method ToList ()
type IVectorConst<T>
returns [not-null] The list of elements.
inherited BagConstBase.ToList