/** * @return the number of elements in this set. */ public int size() { return _depends.size(); }
public static IntSet create(final int... values) { return new ArrayIntSet(values); } }
@Override public boolean contains(final int value) { if (value >= min) return super.contains(value - min); else return false; }
@Override public boolean hasNext() { return base.hasNext(); }
/** * Add the integer value <code>b</code> to this DependencySet. * * @param b */ public void add(final int b) { _depends.add(b); }
@Override public IntSet copy() { return new BitIntSet(this); }
/** * Remove the integer value <code>b</code> from this DependencySet. * * @param b */ public void remove(final int b) { _depends.remove(b); }
/** * @return the number of elements in this set. */ public int size() { return _depends.size(); }
/** * {@inheritDoc} */ @Override public IntSet copy() { return new ArrayIntSet(this); }