Esempio n. 1
0
 /** {@inheritDoc} */
 public void transformValues(TByteFunction function) {
   byte[] states = _states;
   byte[] values = _values;
   for (int i = values.length; i-- > 0; ) {
     if (states[i] == FULL) {
       values[i] = function.execute(values[i]);
     }
   }
 }
Esempio n. 2
0
 /** {@inheritDoc} */
 public void transformValues(TByteFunction function) {
   for (int i = _pos; i-- > 0; ) {
     _data[i] = function.execute(_data[i]);
   }
 }