public final boolean execute(double value) { return that.contains(value); } });
/** * Tests the set to determine if all of the elements in * <tt>array</tt> are present. * * @param array an <code>array</code> of double primitives. * @return true if all elements were present in the set. */ public boolean containsAll(double[] array) { for (int i = array.length; i-- > 0;) { if (! contains(array[i])) { return false; } } return true; }
if (val instanceof Double) { double v = unwrap(val); if (_set.contains(v)) {