Beispiel #1
0
 @Override
 public void each(VectorProcedure procedure) {
   for (int i = 0; i < length; i++) {
     procedure.apply(i, get(i));
   }
 }
Beispiel #2
0
 @Override
 public void each(VectorProcedure procedure) {
   for (int i = 0; i < cardinality; i++) {
     procedure.apply(indices[i], values[i]);
   }
 }