Uses of Interface
org.wildfly.clustering.function.BiFunction

  • Uses of BiFunction in org.wildfly.clustering.function

    Modifier and Type
    Field
    Description
    static final BiFunction<?,?,?>
    BiFunction.FIRST
     
    static final BiFunction<?,?,?>
    BiFunction.NULL
     
    static final BiFunction<?,?,?>
    BiFunction.SECOND
     
    Modifier and Type
    Method
    Description
    default <V> BiFunction<T,U,V>
    BiFunction.andThen(Function<? super R,? extends V> after)
     
    default <V1, V2> BiFunction<V1,V2,R>
    BiFunction.compose(Function<? super V1,? extends T> before1, Function<? super V2,? extends U> before2)
    Returns a composed function that applies the specified functions to each parameter as inputs to this function.
    static <T extends R, U, R>
    BiFunction<T,U,R>
    BiFunction.first()
    Returns a function that returns its first parameter.
    static <T, U, R> BiFunction<T,U,R>
    BiFunction.first(Function<T,R> function)
    Returns a function that returns the result of applying the specified function to its first parameter.
    static <T, U, R> BiFunction<T,U,R>
    BiFunction.of(Supplier<R> supplier)
    Returns a function that returns the value returned by the specified supplier, ignoring its parameter.
    static <T, U, R> BiFunction<T,U,R>
    BiFunction.of(R result)
    Returns a function that always returns the specified value, ignoring its parameter.
    default BiFunction<T,U,R>
    BiFunction.orDefault(BiPredicate<T,U> predicate, Supplier<R> defaultResult)
    Returns a function that applies this function if its parameters matches the specified predicate, or returns the value provided by the specified supplier otherwise.
    static <T, U extends R, R>
    BiFunction<T,U,R>
    BiFunction.second()
    Returns a function that returns its second parameter.
    static <T, U, R> BiFunction<T,U,R>
    BiFunction.second(Function<U,R> function)
    Returns a function that returns the result of applying the specified function to its second parameter.
    default BiFunction<T,U,R>
    BiFunction.withDefault(Predicate<T> predicate1, Supplier<T> defaultValue1, Predicate<U> predicate2, Supplier<U> defaultValue2)
    Returns a function that applies this function to the values returned by the specified providers if its parameters do not match the specified predicates.