示例#1
0
            internal int CurrentCount; // number of entries of the current page

            internal Iterator(AbstractAppendingLongBuffer outerInstance)
            {
                this.OuterInstance = outerInstance;
                VOff = POff = 0;
                if (outerInstance.ValuesOff == 0)
                {
                    CurrentValues = outerInstance.Pending;
                    CurrentCount  = outerInstance.PendingOff;
                }
                else
                {
                    CurrentValues = new long[outerInstance.Values[0].Size()];
                    FillValues();
                }
            }
            internal int CurrentCount; // number of entries of the current page

            internal Iterator(AbstractAppendingLongBuffer outerInstance)
            {
                this.OuterInstance = outerInstance;
                VOff = POff = 0;
                if (outerInstance.ValuesOff == 0)
                {
                    CurrentValues = outerInstance.Pending;
                    CurrentCount = outerInstance.PendingOff;
                }
                else
                {
                    CurrentValues = new long[outerInstance.Values[0].Size()];
                    FillValues();
                }
            }