Table of Contents

Class FastLargeSetOfLongs

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll
public class FastLargeSetOfLongs : IEnumerable<long>, IEnumerable
Inheritance
FastLargeSetOfLongs
Implements
Inherited Members
Extension Methods

Constructors

FastLargeSetOfLongs(int)

public FastLargeSetOfLongs(int numbuckets)

Parameters

numbuckets int

Properties

Count

public int Count { get; }

Property Value

int

Methods

Add(long)

Return false if the set already contained this value; return true if the Add was successful

public bool Add(long value)

Parameters

value long

Returns

bool

Clear()

public void Clear()

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<long> GetEnumerator()

Returns

IEnumerator<long>

An enumerator that can be used to iterate through the collection.