Uses of Interface
org.osgi.util.function.Function

  • Uses of Function in org.osgi.util.function

    Methods in org.osgi.util.function that return Function
    Modifier and Type
    Method
    Description
    default <S> Function<T,S>
    Function.andThen(Function<? super R, ? extends S> after)
    Compose the specified Function to be called on the value returned by this Function.
    static <T,R> Function<T,R>
    Function.asFunction(Function<T,R> wrapped)
    Returns a Function which wraps the specified java.util.function.Function.
    default <S> Function<S,R>
    Function.compose(Function<? super S, ? extends T> before)
    Compose the specified Function to be called to supply a value to be consumed by this Function.
    Methods in org.osgi.util.function with parameters of type Function
    Modifier and Type
    Method
    Description
    default <S> Function<T,S>
    Function.andThen(Function<? super R, ? extends S> after)
    Compose the specified Function to be called on the value returned by this Function.
    static <T,R> Function<T,R>
    Function.asJavaFunction(Function<T,R> wrapped)
    Returns a java.util.function.Function which wraps the specified Function and throws any thrown exceptions.
    static <T,R> Function<T,R>
    Function.asJavaFunctionOrElse(Function<T,R> wrapped, R orElse)
    Returns a java.util.function.Function which wraps the specified Function and the specified value.
    static <T,R> Function<T,R>
    Function.asJavaFunctionOrElseGet(Function<T,R> wrapped, Supplier<? extends R> orElseGet)
    Returns a java.util.function.Function which wraps the specified Function and the specified java.util.function.Supplier.
    default <S> Function<S,R>
    Function.compose(Function<? super S, ? extends T> before)
    Compose the specified Function to be called to supply a value to be consumed by this Function.