Exemple #1
0
 public void Delete(long value)
 {
     if (table.Contains((uint)value))
     {
         deleteList.Add((uint)value);
     }
 }
Exemple #2
0
            public void Next()
            {
                int size = 64 * table.bitmap.Length;

                do
                {
                    index++;
                } while (index < size && !table.Contains(index));
            }
Exemple #3
0
        public static bool TableContains(UnaryTable table, Obj elem)
        {
            int surr = table.store.LookupValue(elem);

            if (surr == -1)
            {
                return(false);
            }
            return(table.Contains((uint)surr));
        }
Exemple #4
0
 public Iter(uint index, UnaryTable table)
 {
     this.table = table;
     if (table.count == 0)
     {
         this.index = (uint)(64 * table.bitmap.Length);
     }
     else
     {
         this.index = index;
         if (!table.Contains(0))
         {
             Next();
         }
     }
 }