org.apache.tinkerpop.gremlin.process.traversal.step.map

## Class FoldStep.FoldBiOperator<E>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.traversal.step.map.FoldStep.FoldBiOperator<E>

- All Implemented Interfaces:
    Serializable, BiFunction<E,E,E>, BinaryOperator<E>
  Enclosing class:
    FoldStep<S,E>

      public static class FoldStep.FoldBiOperator<E>
      extends Object
      implements BinaryOperator<E>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FoldBiOperator(BiFunction biFunction)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `E` | `apply(E seed, E other)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.function.BinaryOperator

      `maxBy, minBy`

    - ### Methods inherited from interface java.util.function.BiFunction

      `andThen`

- - ### Constructor Detail

    - #### FoldBiOperator

          public FoldBiOperator(BiFunction biFunction)

  - ### Method Detail

    - #### apply

          public E apply(E seed,
                         E other)

      Specified by:
        `apply` in interface `BiFunction<E,E,E>`

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.