Esempio n. 1
0
        internal static void BeginLoad()
        {
            const int DEFAULT_CAPACITY = 107;

            tempBufferHS          = new IntPtrSet(DEFAULT_CAPACITY);
            tempBufferDict        = new Set <LinkedList <MorphoAttributeEnum> >(DEFAULT_CAPACITY);
            tempBufferLinkedLists = new Stack <LinkedList <MorphoAttributeEnum> >(DEFAULT_CAPACITY);
            for (var i = 0; i < DEFAULT_CAPACITY; i++)
            {
                tempBufferLinkedLists.Push(new LinkedList <MorphoAttributeEnum>());
            }
        }
Esempio n. 2
0
 internal static void EndLoad()
 {
     tempBufferHS = null;
 }
Esempio n. 3
0
        internal static void BeginLoad()
        {
            const int DEFAULT_CAPACITY = 107;

            tempBufferHS = new IntPtrSet(DEFAULT_CAPACITY);
        }
Esempio n. 4
0
 internal Enumerator(IntPtrSet set)
 {
     _set    = set;
     _index  = 0;
     Current = default;
 }
Esempio n. 5
0
 internal static void EndLoad()
 {
     tempBufferHS          = null;
     tempBufferDict        = null;
     tempBufferLinkedLists = null;
 }