/** {@inheritDoc} */ public void transformValues(TCharFunction function) { byte[] states = _states; char[] values = _values; for (int i = values.length; i-- > 0; ) { if (states[i] == FULL) { values[i] = function.execute(values[i]); } } }
/** {@inheritDoc} */ @Override public void transformValues(TCharFunction function) { TByteOffheapArray states = _states; TCharOffheapArray values = _values; for (int i = capacity(); i-- > 0; ) { if (states.get(i) == FULL) { values.put(i, function.execute(values.get(i))); } } }