Example #1
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);
 }