Esempio n. 1
0
 public default GraphTraversal<S, E> jump(final String jumpLabel, final int loops) {
   return this.addStep(
       JumpStep.<E>build(this)
           .jumpLabel(jumpLabel)
           .jumpLoops(loops, Compare.lt)
           .emitChoice(false)
           .create());
 }
Esempio n. 2
0
 public default GraphTraversal<S, E> jump(
     final String jumpLabel, final int loops, final Predicate<Traverser<E>> emitPredicate) {
   return this.addStep(
       JumpStep.<E>build(this)
           .jumpLabel(jumpLabel)
           .jumpLoops(loops, Compare.lt)
           .emitPredicate(emitPredicate)
           .create());
 }
Esempio n. 3
0
 public default GraphTraversal<S, E> jump(
     final String jumpLabel, final Predicate<Traverser<E>> jumpPredicate) {
   return this.addStep(
       JumpStep.<E>build(this)
           .jumpLabel(jumpLabel)
           .jumpPredicate(jumpPredicate)
           .emitChoice(false)
           .create());
 }
Esempio n. 4
0
 public default GraphTraversal<S, E> jump(final String jumpLabel) {
   return this.addStep(
       JumpStep.<E>build(this).jumpLabel(jumpLabel).jumpChoice(true).emitChoice(false).create());
 }