public void forEachId(TIntProcedure v) { for (int i = 0; i < ids.size(); i++) { if (!v.execute(ids.get(i))) { break; } } }
/** {@inheritDoc} */ public boolean forEachValue(TIntProcedure procedure) { byte[] states = _states; int[] values = _values; for (int i = values.length; i-- > 0; ) { if (states[i] == FULL && !procedure.execute(values[i])) { return false; } } return true; }