/** Removes all (key,value) associations from the receiver. Implicitly calls <tt>trimToSize()</tt>. */ @Override public void clear() { Arrays.fill(state, FREE); Arrays.fill(values, null); // delta this.distinct = 0; this.freeEntries = table.length; // delta trimToSize(); }
/** Removes all (key,value) associations from the receiver. Implicitly calls <tt>trimToSize()</tt>. */ @Override public void clear() { Arrays.fill(state, 0, this.state.length - 1, FREE); Arrays.fill(values, 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>. */ @Override public void clear() { Arrays.fill(state, FREE); Arrays.fill(values, null); // delta this.distinct = 0; this.freeEntries = table.length; // delta trimToSize(); }