private FastSparseSet(FastSparseSetFactory <E> factory, int[] data, int[] next) { this.factory = factory; this.colValuesInternal = factory.GetInternalValuesCollection(); this.data = data; this.next = next; }
public FastFixedSetIterator(IEnumerable <E> fastFixedSet) { var set = (FastFixedSet <E>)fastFixedSet; colValuesInternal = set.GetFactory().GetInternalValuesCollection(); data = set.GetData(); size = colValuesInternal.Count; }
internal FastSparseSet(FastSparseSetFactory <E> factory) { this.factory = factory; this.colValuesInternal = factory.GetInternalValuesCollection(); int length = factory.GetLastBlock() + 1; this.data = new int[length]; this.next = new int[length]; }
internal FastSparseSetIterator(object mySet) { var set = (FastSparseSetFactory <E> .FastSparseSet <E>)mySet; colValuesInternal = set.GetFactory().GetInternalValuesCollection(); data = set.GetData(); next = set.GetNext(); size = colValuesInternal.Count; }
internal FastFixedSet(FastFixedSetFactory <E> factory) { this.factory = factory; this.colValuesInternal = factory.GetInternalValuesCollection(); this.data = new int[factory.GetDataLength()]; }