/** * Returns <tt>true</tt> if the receiver contains the specified value. * * @return <tt>true</tt> if the receiver contains the specified value. */ public boolean containsValue(final char value) { return !forEachPair( new ShortCharProcedure() { @Override public boolean apply(short iterKey, char iterValue) { return (value != iterValue); } } ); }
forEachPair( new ShortCharProcedure() { @Override other.forEachPair( new ShortCharProcedure() { @Override
public int hashCode() { final int[] buf = new int[size()]; forEachPair( new ShortCharProcedure() { int i = 0; @Override public boolean apply(short key, char value) { buf[i++] = HashUtils.hash(key) ^ HashUtils.hash(value); return true; } } ); Arrays.sort(buf); return IntBuffer.wrap(buf).hashCode(); }
valueList.clear(); forEachPair( new ShortCharProcedure() { @Override
/** * Returns <tt>true</tt> if the receiver contains the specified value. * * @return <tt>true</tt> if the receiver contains the specified value. */ public boolean containsValue(final char value) { return !forEachPair( new ShortCharProcedure() { @Override public boolean apply(short iterKey, char iterValue) { return (value != iterValue); } } ); }
/** * Returns <tt>true</tt> if the receiver contains the specified value. * * @return <tt>true</tt> if the receiver contains the specified value. */ public boolean containsValue(final char value) { return !forEachPair( new ShortCharProcedure() { @Override public boolean apply(short iterKey, char iterValue) { return (value != iterValue); } } ); }
forEachPair( new ShortCharProcedure() { @Override other.forEachPair( new ShortCharProcedure() { @Override
public int hashCode() { final int[] buf = new int[size()]; forEachPair( new ShortCharProcedure() { int i = 0; @Override public boolean apply(short key, char value) { buf[i++] = HashUtils.hash(key) ^ HashUtils.hash(value); return true; } } ); Arrays.sort(buf); return IntBuffer.wrap(buf).hashCode(); }
valueList.clear(); forEachPair( new ShortCharProcedure() { @Override
valueList.clear(); forEachPair( new ShortCharProcedure() { @Override
forEachPair( new ShortCharProcedure() { @Override