public void Delete(long value) { if (table.Contains((uint)value)) { deleteList.Add((uint)value); } }
public void Next() { int size = 64 * table.bitmap.Length; do { index++; } while (index < size && !table.Contains(index)); }
public static bool TableContains(UnaryTable table, Obj elem) { int surr = table.store.LookupValue(elem); if (surr == -1) { return(false); } return(table.Contains((uint)surr)); }
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(); } } }