예제 #1
0
 @Override
 public void reset() {
   super.reset();
   this.done.set(false);
   this.counter.set(0l);
 }
예제 #2
0
 public default <E2> GraphTraversal<S, E2> map(final Function<Traverser<E>, E2> function) {
   final MapStep<E, E2> mapStep = new MapStep<>(this);
   mapStep.setFunction(function);
   return this.addStep(mapStep);
 }