/** * Removes all (key,value) associations from the receiver. * Implicitly calls <tt>trimToSize()</tt>. */ public void clear() { new ByteArrayList(this.state).fillFromToWith(0, this.state.length-1, FREE); new ObjectArrayList(values).fillFromToWith(0, state.length-1, null); // delta this.distinct = 0; this.freeEntries = table.length; // delta trimToSize(); } /**
/** * Removes all (key,value) associations from the receiver. * Implicitly calls <tt>trimToSize()</tt>. */ public void clear() { new ByteArrayList(this.state).fillFromToWith(0, this.state.length-1, FREE); new ObjectArrayList(values).fillFromToWith(0, state.length-1, null); // delta this.distinct = 0; this.freeEntries = table.length; // delta trimToSize(); } /**
/** * Removes all (key,value) associations from the receiver. Implicitly calls * <tt>trimToSize()</tt>. */ public void clear() { new ByteArrayList(this.state).fillFromToWith(0, this.state.length - 1, FREE); new ObjectArrayList(values).fillFromToWith(0, state.length - 1, null); // delta this.distinct = 0; this.freeEntries = table.length; // delta trimToSize(); }