Interface Serialized


  • public interface Serialized
    The interface Serialized.
    • Method Detail

      • runnable

        static Runnable runnable​(SerializableRunnable runnable)
        Runnable runnable.
        Parameters:
        runnable - the runnable
        Returns:
        the runnable
      • negate

        static <T> SerializablePredicate<T> negate​(SerializablePredicate<? super T> p1)
        Negate serializable predicate.
        Type Parameters:
        T - the type parameter
        Parameters:
        p1 - the p 1
        Returns:
        the serializable predicate
      • negate

        static <T,​U> SerializableBiPredicate<T,​U> negate​(SerializableBiPredicate<? super T,​? super U> p1)
        Negate serializable bi predicate.
        Type Parameters:
        T - the type parameter
        U - the type parameter
        Parameters:
        p1 - the p 1
        Returns:
        the serializable bi predicate
      • doubleToIntFunction

        static DoubleToIntFunction doubleToIntFunction​(SerializableDoubleToIntFunction serialized)
        Generates a serialized version of DoubleToIntFunction
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • intToDoubleFunction

        static IntToDoubleFunction intToDoubleFunction​(SerializableIntToDoubleFunction serialized)
        Generates a serialized version of IntToDoubleFunction
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • consumer

        static <T> Consumer<T> consumer​(SerializableConsumer<T> serialized)
        Generates a serialized version of Consumer
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • intPredicate

        static IntPredicate intPredicate​(SerializableIntPredicate serialized)
        Generates a serialized version of IntPredicate
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • objLongConsumer

        static <T> ObjLongConsumer<T> objLongConsumer​(SerializableObjLongConsumer<T> serialized)
        Generates a serialized version of ObjLongConsumer
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • biPredicate

        static <T,​U> BiPredicate<T,​U> biPredicate​(SerializableBiPredicate<T,​U> serialized)
        Generates a serialized version of BiPredicate
        Type Parameters:
        T - Functional parameter
        U - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • doubleUnaryOperator

        static DoubleUnaryOperator doubleUnaryOperator​(SerializableDoubleUnaryOperator serialized)
        Generates a serialized version of DoubleUnaryOperator
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • intUnaryOperator

        static IntUnaryOperator intUnaryOperator​(SerializableIntUnaryOperator serialized)
        Generates a serialized version of IntUnaryOperator
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • longUnaryOperator

        static LongUnaryOperator longUnaryOperator​(SerializableLongUnaryOperator serialized)
        Generates a serialized version of LongUnaryOperator
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • booleanSupplier

        static BooleanSupplier booleanSupplier​(SerializableBooleanSupplier serialized)
        Generates a serialized version of BooleanSupplier
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • intSupplier

        static IntSupplier intSupplier​(SerializableIntSupplier serialized)
        Generates a serialized version of IntSupplier
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • intBinaryOperator

        static IntBinaryOperator intBinaryOperator​(SerializableIntBinaryOperator serialized)
        Generates a serialized version of IntBinaryOperator
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • objIntConsumer

        static <T> ObjIntConsumer<T> objIntConsumer​(SerializableObjIntConsumer<T> serialized)
        Generates a serialized version of ObjIntConsumer
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • longBinaryOperator

        static LongBinaryOperator longBinaryOperator​(SerializableLongBinaryOperator serialized)
        Generates a serialized version of LongBinaryOperator
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • unaryOperator

        static <T> UnaryOperator<T> unaryOperator​(SerializableUnaryOperator<T> serialized)
        Generates a serialized version of UnaryOperator
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • binaryOperator

        static <T> BinaryOperator<T> binaryOperator​(SerializableBinaryOperator<T> serialized)
        Generates a serialized version of BinaryOperator
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • predicate

        static <T> Predicate<T> predicate​(SerializablePredicate<T> serialized)
        Generates a serialized version of Predicate
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • toDoubleFunction

        static <T> ToDoubleFunction<T> toDoubleFunction​(SerializableToDoubleFunction<T> serialized)
        Generates a serialized version of ToDoubleFunction
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • supplier

        static <T> Supplier<T> supplier​(SerializableSupplier<T> serialized)
        Generates a serialized version of Supplier
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • toDoubleBiFunction

        static <T,​U> ToDoubleBiFunction<T,​U> toDoubleBiFunction​(SerializableToDoubleBiFunction<T,​U> serialized)
        Generates a serialized version of ToDoubleBiFunction
        Type Parameters:
        T - Functional parameter
        U - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • longPredicate

        static LongPredicate longPredicate​(SerializableLongPredicate serialized)
        Generates a serialized version of LongPredicate
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • biConsumer

        static <T,​U> BiConsumer<T,​U> biConsumer​(SerializableBiConsumer<T,​U> serialized)
        Generates a serialized version of BiConsumer
        Type Parameters:
        T - Functional parameter
        U - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • longSupplier

        static LongSupplier longSupplier​(SerializableLongSupplier serialized)
        Generates a serialized version of LongSupplier
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • toLongFunction

        static <T> ToLongFunction<T> toLongFunction​(SerializableToLongFunction<T> serialized)
        Generates a serialized version of ToLongFunction
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • intFunction

        static <R> IntFunction<R> intFunction​(SerializableIntFunction<R> serialized)
        Generates a serialized version of IntFunction
        Type Parameters:
        R - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • intConsumer

        static IntConsumer intConsumer​(SerializableIntConsumer serialized)
        Generates a serialized version of IntConsumer
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • biFunction

        static <T,​U,​R> BiFunction<T,​U,​R> biFunction​(SerializableBiFunction<T,​U,​R> serialized)
        Generates a serialized version of BiFunction
        Type Parameters:
        T - Functional parameter
        U - Functional parameter
        R - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • longToDoubleFunction

        static LongToDoubleFunction longToDoubleFunction​(SerializableLongToDoubleFunction serialized)
        Generates a serialized version of LongToDoubleFunction
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • doubleBinaryOperator

        static DoubleBinaryOperator doubleBinaryOperator​(SerializableDoubleBinaryOperator serialized)
        Generates a serialized version of DoubleBinaryOperator
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • longFunction

        static <R> LongFunction<R> longFunction​(SerializableLongFunction<R> serialized)
        Generates a serialized version of LongFunction
        Type Parameters:
        R - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • longToIntFunction

        static LongToIntFunction longToIntFunction​(SerializableLongToIntFunction serialized)
        Generates a serialized version of LongToIntFunction
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • toLongBiFunction

        static <T,​U> ToLongBiFunction<T,​U> toLongBiFunction​(SerializableToLongBiFunction<T,​U> serialized)
        Generates a serialized version of ToLongBiFunction
        Type Parameters:
        T - Functional parameter
        U - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • doublePredicate

        static DoublePredicate doublePredicate​(SerializableDoublePredicate serialized)
        Generates a serialized version of DoublePredicate
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • doubleFunction

        static <R> DoubleFunction<R> doubleFunction​(SerializableDoubleFunction<R> serialized)
        Generates a serialized version of DoubleFunction
        Type Parameters:
        R - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • longConsumer

        static LongConsumer longConsumer​(SerializableLongConsumer serialized)
        Generates a serialized version of LongConsumer
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • function

        static <T,​R> Function<T,​R> function​(SerializableFunction<T,​R> serialized)
        Generates a serialized version of Function
        Type Parameters:
        T - Functional parameter
        R - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • doubleToLongFunction

        static DoubleToLongFunction doubleToLongFunction​(SerializableDoubleToLongFunction serialized)
        Generates a serialized version of DoubleToLongFunction
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • doubleConsumer

        static DoubleConsumer doubleConsumer​(SerializableDoubleConsumer serialized)
        Generates a serialized version of DoubleConsumer
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • intToLongFunction

        static IntToLongFunction intToLongFunction​(SerializableIntToLongFunction serialized)
        Generates a serialized version of IntToLongFunction
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • toIntFunction

        static <T> ToIntFunction<T> toIntFunction​(SerializableToIntFunction<T> serialized)
        Generates a serialized version of ToIntFunction
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • doubleSupplier

        static DoubleSupplier doubleSupplier​(SerializableDoubleSupplier serialized)
        Generates a serialized version of DoubleSupplier
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • toIntBiFunction

        static <T,​U> ToIntBiFunction<T,​U> toIntBiFunction​(SerializableToIntBiFunction<T,​U> serialized)
        Generates a serialized version of ToIntBiFunction
        Type Parameters:
        T - Functional parameter
        U - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.
      • objDoubleConsumer

        static <T> ObjDoubleConsumer<T> objDoubleConsumer​(SerializableObjDoubleConsumer<T> serialized)
        Generates a serialized version of ObjDoubleConsumer
        Type Parameters:
        T - Functional parameter
        Parameters:
        serialized - The serialized functional
        Returns:
        The serialized functional.