コード例 #1
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));
        }
コード例 #2
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();
         }
     }
 }
コード例 #3
0
 public UnaryTableUpdater(UnaryTable table, ValueStoreUpdater store)
 {
     this.table = table;
     this.store = store;
 }