org.apache.tinkerpop.gremlin.util.function

## Interface Lambda

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    Lambda.AbstractLambda, Lambda.OneArgLambda, Lambda.TwoArgLambda, Lambda.UnknownArgLambda, Lambda.ZeroArgLambda

      public interface Lambda
      extends Serializable

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `Lambda.AbstractLambda`
    `static class` | `Lambda.OneArgLambda<A,B>`
    `static class` | `Lambda.TwoArgLambda<A,B,C>`
    `static class` | `Lambda.UnknownArgLambda`
    `static class` | `Lambda.ZeroArgLambda<A>`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `DEFAULT_LAMBDA_LANGUAGE`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <A,B,C> BiFunction<A,B,C>` | `biFunction(String lambdaSource)`
    `static <A,B,C> BiFunction<A,B,C>` | `biFunction(String lambdaSource, String lambdaLanguage)`
    `static <A> Comparator<A>` | `comparator(String lambdaSource)`
    `static <A> Comparator<A>` | `comparator(String lambdaSource, String lambdaLanguage)`
    `static <A> Consumer<A>` | `consumer(String lambdaSource)`
    `static <A> Consumer<A>` | `consumer(String lambdaSource, String lambdaLanguage)`
    `static <A,B> Function<A,B>` | `function(String lambdaSource)`
    `static <A,B> Function<A,B>` | `function(String lambdaSource, String lambdaLanguage)`
    `int` | `getLambdaArguments()`
    `String` | `getLambdaLanguage()`
    `String` | `getLambdaScript()`
    `static <A> Predicate<A>` | `predicate(String lambdaSource)`
    `static <A> Predicate<A>` | `predicate(String lambdaSource, String lambdaLanguage)`
    `static <A> Supplier<A>` | `supplier(String lambdaSource)`
    `static <A> Supplier<A>` | `supplier(String lambdaSource, String lambdaLanguage)`

- - ### Field Detail

    - #### DEFAULT_LAMBDA_LANGUAGE

          static final String DEFAULT_LAMBDA_LANGUAGE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getLambdaScript

          String getLambdaScript()

    - #### getLambdaLanguage

          String getLambdaLanguage()

    - #### getLambdaArguments

          int getLambdaArguments()

    - #### function

          static <A,B> Function<A,B> function(String lambdaSource,
                                              String lambdaLanguage)

    - #### predicate

          static <A> Predicate<A> predicate(String lambdaSource,
                                            String lambdaLanguage)

    - #### consumer

          static <A> Consumer<A> consumer(String lambdaSource,
                                          String lambdaLanguage)

    - #### supplier

          static <A> Supplier<A> supplier(String lambdaSource,
                                          String lambdaLanguage)

    - #### comparator

          static <A> Comparator<A> comparator(String lambdaSource,
                                              String lambdaLanguage)

    - #### biFunction

          static <A,B,C> BiFunction<A,B,C> biFunction(String lambdaSource,
                                                      String lambdaLanguage)

    - #### function

          static <A,B> Function<A,B> function(String lambdaSource)

    - #### predicate

          static <A> Predicate<A> predicate(String lambdaSource)

    - #### consumer

          static <A> Consumer<A> consumer(String lambdaSource)

    - #### supplier

          static <A> Supplier<A> supplier(String lambdaSource)

    - #### comparator

          static <A> Comparator<A> comparator(String lambdaSource)

    - #### biFunction

          static <A,B,C> BiFunction<A,B,C> biFunction(String lambdaSource)

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