Exemple #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>());
            }
        }
 internal static void EndLoad()
 {
     tempBufferHS = null;
 }
        internal static void BeginLoad()
        {
            const int DEFAULT_CAPACITY = 107;

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