Exemplo n.º 1
0
 private FastSparseSet(FastSparseSetFactory <E> factory, int[] data, int[] next)
 {
     this.factory           = factory;
     this.colValuesInternal = factory.GetInternalValuesCollection();
     this.data = data;
     this.next = next;
 }
Exemplo n.º 2
0
            public FastFixedSetIterator(IEnumerable <E> fastFixedSet)
            {
                var set = (FastFixedSet <E>)fastFixedSet;

                colValuesInternal = set.GetFactory().GetInternalValuesCollection();
                data = set.GetData();
                size = colValuesInternal.Count;
            }
Exemplo n.º 3
0
            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];
            }
Exemplo n.º 4
0
            internal FastSparseSetIterator(object mySet)
            {
                var set = (FastSparseSetFactory <E> .FastSparseSet <E>)mySet;

                colValuesInternal = set.GetFactory().GetInternalValuesCollection();
                data = set.GetData();
                next = set.GetNext();
                size = colValuesInternal.Count;
            }
Exemplo n.º 5
0
 internal FastFixedSet(FastFixedSetFactory <E> factory)
 {
     this.factory           = factory;
     this.colValuesInternal = factory.GetInternalValuesCollection();
     this.data = new int[factory.GetDataLength()];
 }