コード例 #1
0
        internal static void BeginLoad()
        {
            const int DEFAULT_CAPACITY = 107;

            _TempBufferSet        = new IntPtrSet(DEFAULT_CAPACITY);
            _TempBufferSetLiists  = new Set <LinkedList <MorphoAttributeEnum> >(DEFAULT_CAPACITY);
            _TempBufferStackLists = new Stack <LinkedList <MorphoAttributeEnum> >(DEFAULT_CAPACITY);
            for (var i = 0; i < DEFAULT_CAPACITY; i++)
            {
                _TempBufferStackLists.Push(new LinkedList <MorphoAttributeEnum>());
            }
        }
コード例 #2
0
        internal static void BeginLoad()
        {
            const int DEFAULT_CAPACITY = 107;

            tempBufferHS          = new IntPtrSet(DEFAULT_CAPACITY);                               /*---tempBufferHS = new HashSet< IntPtr >();*/
            tempBufferDict        = new Set <LinkedList <MorphoAttributeEnum> >(DEFAULT_CAPACITY); /*---tempBufferDict = new Dictionary< IntPtr, LinkedList< MorphoAttributeEnum > >( DEFAULT_CAPACITY );*/
            tempBufferLinkedLists = new Stack <LinkedList <MorphoAttributeEnum> >(DEFAULT_CAPACITY);
            for (var i = 0; i < DEFAULT_CAPACITY; i++)
            {
                tempBufferLinkedLists.Push(new LinkedList <MorphoAttributeEnum>());
            }
        }
コード例 #3
0
 internal static void EndLoad()
 {
     _TempBufferSet        = null;
     _TempBufferSetLiists  = null;
     _TempBufferStackLists = null;
 }
コード例 #4
0
 internal Enumerator(IntPtrSet set)
 {
     this._Set     = set;
     this._Index   = 0;
     this._Current = default;
 }
コード例 #5
0
 internal static void EndLoad()
 {
     tempBufferHS          = null;
     tempBufferDict        = null;
     tempBufferLinkedLists = null;
 }
コード例 #6
0
 internal static void EndLoad()
 {
     tempBufferHS = null;
 }
コード例 #7
0
        private static IntPtrSet tempBufferHS; /*---private static HashSet< IntPtr > tempBufferHS;*/

        internal static void BeginLoad()
        {
            const int DEFAULT_CAPACITY = 107;               //197;

            tempBufferHS = new IntPtrSet(DEFAULT_CAPACITY); /*---tempBufferHS = new HashSet< IntPtr >();*/
        }
コード例 #8
0
 internal static void EndLoad() => _TempBufferHS = null;
コード例 #9
0
        internal static void BeginLoad()
        {
            const int DEFAULT_CAPACITY = 107; //197;

            _TempBufferHS = new IntPtrSet(DEFAULT_CAPACITY);
        }