Package com.tangosol.util.function
Class Remote
- java.lang.Object
- 
- com.tangosol.util.function.Remote
 
- 
 public class Remote extends Object Helper interfaces and methods that enable capture of standard JDK functional interfaces as serializable lambdas.- Since:
- 12.2.1
- Author:
- as 2014.07.16
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceRemote.BiConsumer<T,U>Represents an operation that accepts two input arguments and returns no result.static interfaceRemote.BiFunction<T,U,R>Represents a function that accepts two arguments and produces a result.static interfaceRemote.BinaryOperator<T>Represents an operation upon two operands of the same type, producing a result of the same type as the operands.static interfaceRemote.BiPredicate<T,U>Represents a predicate (boolean-valued function) of two arguments.static interfaceRemote.BooleanSupplierRepresents a supplier ofboolean-valued results.static interfaceRemote.Callable<V>A task that returns a result and may throw an exception.static interfaceRemote.Comparator<T>A comparison function, which imposes a total ordering on some collection of objects.static interfaceRemote.Consumer<T>Represents an operation that accepts a single input argument and returns no result.static interfaceRemote.DoubleBinaryOperatorRepresents an operation upon twodouble-valued operands and producing adouble-valued result.static interfaceRemote.DoubleConsumerRepresents an operation that accepts a singledouble-valued argument and returns no result.static interfaceRemote.DoubleFunction<R>Represents a function that accepts a double-valued argument and produces a result.static interfaceRemote.DoublePredicateRepresents a predicate (boolean-valued function) of onedouble-valued argument.static interfaceRemote.DoubleSupplierRepresents a supplier ofdouble-valued results.static interfaceRemote.DoubleToIntFunctionRepresents a function that accepts a double-valued argument and produces an int-valued result.static interfaceRemote.DoubleToLongFunctionRepresents a function that accepts a double-valued argument and produces a long-valued result.static interfaceRemote.DoubleUnaryOperatorRepresents an operation on a singledouble-valued operand that produces adouble-valued result.static interfaceRemote.Function<T,R>Represents a function that accepts one argument and produces a result.static interfaceRemote.IntBinaryOperatorRepresents an operation upon twoint-valued operands and producing anint-valued result.static interfaceRemote.IntConsumerRepresents an operation that accepts a singleint-valued argument and returns no result.static interfaceRemote.IntFunction<R>Represents a function that accepts an int-valued argument and produces a result.static interfaceRemote.IntPredicateRepresents a predicate (boolean-valued function) of oneint-valued argument.static interfaceRemote.IntSupplierRepresents a supplier ofint-valued results.static interfaceRemote.IntToDoubleFunctionRepresents a function that accepts an int-valued argument and produces a double-valued result.static interfaceRemote.IntToLongFunctionRepresents a function that accepts an int-valued argument and produces a long-valued result.static interfaceRemote.IntUnaryOperatorRepresents an operation on a singleint-valued operand that produces anint-valued result.static interfaceRemote.LongBinaryOperatorRepresents an operation upon twolong-valued operands and producing along-valued result.static interfaceRemote.LongConsumerRepresents an operation that accepts a singlelong-valued argument and returns no result.static interfaceRemote.LongFunction<R>Represents a function that accepts a long-valued argument and produces a result.static interfaceRemote.LongPredicateRepresents a predicate (boolean-valued function) of onelong-valued argument.static interfaceRemote.LongSupplierRepresents a supplier oflong-valued results.static interfaceRemote.LongToDoubleFunctionRepresents a function that accepts a long-valued argument and produces a double-valued result.static interfaceRemote.LongToIntFunctionRepresents a function that accepts a long-valued argument and produces an int-valued result.static interfaceRemote.LongUnaryOperatorRepresents an operation on a singlelong-valued operand that produces along-valued result.static interfaceRemote.ObjDoubleConsumer<T>Represents an operation that accepts an object-valued and adouble-valued argument, and returns no result.static interfaceRemote.ObjIntConsumer<T>Represents an operation that accepts an object-valued and aint-valued argument, and returns no result.static interfaceRemote.ObjLongConsumer<T>Represents an operation that accepts an object-valued and along-valued argument, and returns no result.static interfaceRemote.Predicate<T>Represents a predicate (boolean-valued function) of one argument.static interfaceRemote.RunnableTheRunnableinterface should be implemented by any class whose instances are intended to be executed by a thread.static interfaceRemote.Supplier<T>Represents a supplier of results.static interfaceRemote.ToBigDecimalFunction<T>Represents a function that produces a BigDecimal-valued result.static interfaceRemote.ToComparableFunction<T,R extends Comparable<? super R>>Represents a function that produces a Comparable-valued result.static interfaceRemote.ToDoubleBiFunction<T,U>Represents a function that accepts two arguments and produces a double-valued result.static interfaceRemote.ToDoubleFunction<T>Represents a function that produces a double-valued result.static interfaceRemote.ToIntBiFunction<T,U>Represents a function that accepts two arguments and produces an int-valued result.static interfaceRemote.ToIntFunction<T>Represents a function that produces an int-valued result.static interfaceRemote.ToLongBiFunction<T,U>Represents a function that accepts two arguments and produces a long-valued result.static interfaceRemote.ToLongFunction<T>Represents a function that produces a long-valued result.static interfaceRemote.UnaryOperator<T>Represents an operation on a single operand that produces a result of the same type as its operand.
 - 
Constructor SummaryConstructors Constructor Description Remote()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,U>
 Remote.BiConsumer<T,U>biConsumer(Remote.BiConsumer<T,U> biConsumer)Capture serializable BiConsumer.static <T,U,R>
 Remote.BiFunction<T,U,R>biFunction(Remote.BiFunction<T,U,R> biFunction)Capture serializable BiFunction.static <T> Remote.BinaryOperator<T>binaryOperator(Remote.BinaryOperator<T> operator)Capture serializable BinaryOperator.static <T,U>
 Remote.BiPredicate<T,U>biPredicate(Remote.BiPredicate<T,U> biPredicate)Capture serializable BiPredicate.static Remote.BooleanSupplierbooleanSupplier(Remote.BooleanSupplier supplier)Capture serializable BooleanSupplier.static <V> Remote.Callable<V>callable(Remote.Callable<V> callable)Capture serializable Callable.static <T> Remote.Comparator<T>comparator(Remote.Comparator<T> comparator)Capture serializable Comparator.static <T,E extends Comparable<? super E>>
 Remote.Comparator<T>comparator(ValueExtractor<? super T,? extends E> extractor)CreateRemote.Comparatorfor the specified extractor that returns aComparablevalue.static <T> Remote.Consumer<T>consumer(Remote.Consumer<T> consumer)Capture serializable Consumer.static Remote.DoubleBinaryOperatordoubleBinaryOperator(Remote.DoubleBinaryOperator operator)Capture serializable DoubleBinaryOperator.static Remote.DoubleConsumerdoubleConsumer(Remote.DoubleConsumer consumer)Capture serializable DoubleConsumer.static <R> Remote.DoubleFunction<R>doubleFunction(Remote.DoubleFunction<R> function)Capture serializable DoubleFunction.static Remote.DoublePredicatedoublePredicate(Remote.DoublePredicate predicate)Capture serializable DoublePredicate.static Remote.DoubleSupplierdoubleSupplier(Remote.DoubleSupplier supplier)Capture serializable DoubleSupplier.static Remote.DoubleToIntFunctiondoubleToIntFunction(Remote.DoubleToIntFunction function)Capture serializable DoubleToIntFunction.static Remote.DoubleToLongFunctiondoubleToLongFunction(Remote.DoubleToLongFunction function)Capture serializable DoubleToLongFunction.static Remote.DoubleUnaryOperatordoubleUnaryOperator(Remote.DoubleUnaryOperator operator)Capture serializable DoubleUnaryOperator.static <T,R>
 Remote.Function<T,R>function(Remote.Function<T,R> function)Capture serializable Function.static Remote.IntBinaryOperatorintBinaryOperator(Remote.IntBinaryOperator operator)Capture serializable IntBinaryOperator.static Remote.IntConsumerintConsumer(Remote.IntConsumer consumer)Capture serializable IntConsumer.static <R> Remote.IntFunction<R>intFunction(Remote.IntFunction<R> function)Capture serializable IntFunction.static Remote.IntPredicateintPredicate(Remote.IntPredicate predicate)Capture serializable IntPredicate.static Remote.IntSupplierintSupplier(Remote.IntSupplier supplier)Capture serializable IntSupplier.static Remote.IntToDoubleFunctionintToDoubleFunction(Remote.IntToDoubleFunction function)Capture serializable IntToDoubleFunction.static Remote.IntToLongFunctionintToLongFunction(Remote.IntToLongFunction function)Capture serializable IntToLongFunction.static Remote.IntUnaryOperatorintUnaryOperator(Remote.IntUnaryOperator operator)Capture serializable IntUnaryOperator.static Remote.LongBinaryOperatorlongBinaryOperator(Remote.LongBinaryOperator operator)Capture serializable LongBinaryOperator.static Remote.LongConsumerlongConsumer(Remote.LongConsumer consumer)Capture serializable LongConsumer.static <R> Remote.LongFunction<R>longFunction(Remote.LongFunction<R> function)Capture serializable LongFunction.static Remote.LongPredicatelongPredicate(Remote.LongPredicate predicate)Capture serializable LongPredicate.static Remote.LongSupplierlongSupplier(Remote.LongSupplier supplier)Capture serializable LongSupplier.static Remote.LongToDoubleFunctionlongToDoubleFunction(Remote.LongToDoubleFunction function)Capture serializable LongToDoubleFunction.static Remote.LongToIntFunctionlongToIntFunction(Remote.LongToIntFunction function)Capture serializable LongToIntFunction.static Remote.LongUnaryOperatorlongUnaryOperator(Remote.LongUnaryOperator operator)Capture serializable LongUnaryOperator.static <T> Remote.ObjDoubleConsumer<T>objDoubleConsumer(Remote.ObjDoubleConsumer<T> consumer)Capture serializable ObjDoubleConsumer.static <T> Remote.ObjIntConsumer<T>objIntConsumer(Remote.ObjIntConsumer<T> consumer)Capture serializable ObjIntConsumer.static <T> Remote.ObjLongConsumer<T>objLongConsumer(Remote.ObjLongConsumer<T> consumer)Capture serializable ObjLongConsumer.static <T> Remote.Predicate<T>predicate(Remote.Predicate<T> predicate)Capture serializable Predicate.static Remote.Runnablerunnable(Remote.Runnable runnable)Capture serializable Runnable.static <T> Remote.Supplier<T>supplier(Remote.Supplier<T> supplier)Capture serializable Supplier.static <T,U>
 Remote.ToDoubleBiFunction<T,U>toDoubleBiFunction(Remote.ToDoubleBiFunction<T,U> biFunction)Capture serializable ToDoubleBiFunction.static <T> Remote.ToDoubleFunction<T>toDoubleFunction(Remote.ToDoubleFunction<T> function)Capture serializable ToDoubleFunction.static <T,U>
 Remote.ToIntBiFunction<T,U>toIntBiFunction(Remote.ToIntBiFunction<T,U> biFunction)Capture serializable ToIntBiFunction.static <T> Remote.ToIntFunction<T>toIntFunction(Remote.ToIntFunction<T> function)Capture serializable ToIntFunction.static <T,U>
 Remote.ToLongBiFunction<T,U>toLongBiFunction(Remote.ToLongBiFunction<T,U> biFunction)Capture serializable ToLongBiFunction.static <T> Remote.ToLongFunction<T>toLongFunction(Remote.ToLongFunction<T> function)Capture serializable ToLongFunction.static <T> Remote.UnaryOperator<T>unaryOperator(Remote.UnaryOperator<T> operator)Capture serializable UnaryOperator.
 
- 
- 
- 
Method Detail- 
consumerpublic static <T> Remote.Consumer<T> consumer(Remote.Consumer<T> consumer) Capture serializable Consumer.- Type Parameters:
- T- the type of the input to the operation
- Parameters:
- consumer- lambda to capture
- Returns:
- serializable Consumer
 
 - 
biConsumerpublic static <T,U> Remote.BiConsumer<T,U> biConsumer(Remote.BiConsumer<T,U> biConsumer) Capture serializable BiConsumer.- Type Parameters:
- T- the type of the input to the operation
- U- the type of the second argument to the operation
- Parameters:
- biConsumer- lambda to capture
- Returns:
- serializable BiConsumer
 
 - 
doubleConsumerpublic static Remote.DoubleConsumer doubleConsumer(Remote.DoubleConsumer consumer) Capture serializable DoubleConsumer.- Parameters:
- consumer- lambda to capture
- Returns:
- serializable DoubleConsumer
 
 - 
intConsumerpublic static Remote.IntConsumer intConsumer(Remote.IntConsumer consumer) Capture serializable IntConsumer.- Parameters:
- consumer- lambda to capture
- Returns:
- serializable IntConsumer
 
 - 
longConsumerpublic static Remote.LongConsumer longConsumer(Remote.LongConsumer consumer) Capture serializable LongConsumer.- Parameters:
- consumer- lambda to capture
- Returns:
- serializable LongConsumer
 
 - 
objDoubleConsumerpublic static <T> Remote.ObjDoubleConsumer<T> objDoubleConsumer(Remote.ObjDoubleConsumer<T> consumer) Capture serializable ObjDoubleConsumer.- Type Parameters:
- T- the type of the object argument to the operation
- Parameters:
- consumer- lambda to capture
- Returns:
- serializable ObjDoubleConsumer
 
 - 
objIntConsumerpublic static <T> Remote.ObjIntConsumer<T> objIntConsumer(Remote.ObjIntConsumer<T> consumer) Capture serializable ObjIntConsumer.- Type Parameters:
- T- the type of the object argument to the operation
- Parameters:
- consumer- lambda to capture
- Returns:
- serializable ObjIntConsumer
 
 - 
objLongConsumerpublic static <T> Remote.ObjLongConsumer<T> objLongConsumer(Remote.ObjLongConsumer<T> consumer) Capture serializable ObjLongConsumer.- Type Parameters:
- T- the type of the object argument to the operation
- Parameters:
- consumer- lambda to capture
- Returns:
- serializable ObjLongConsumer
 
 - 
functionpublic static <T,R> Remote.Function<T,R> function(Remote.Function<T,R> function) Capture serializable Function.- Type Parameters:
- T- the type of the input to the function
- R- the type of the result of the function
- Parameters:
- function- lambda to capture
- Returns:
- serializable Function
 
 - 
biFunctionpublic static <T,U,R> Remote.BiFunction<T,U,R> biFunction(Remote.BiFunction<T,U,R> biFunction) Capture serializable BiFunction.- Type Parameters:
- T- the type of the first argument to the function
- U- the type of the second argument to the function
- R- the type of the result of the function
- Parameters:
- biFunction- lambda to capture
- Returns:
- serializable BiFunction
 
 - 
doubleFunctionpublic static <R> Remote.DoubleFunction<R> doubleFunction(Remote.DoubleFunction<R> function) Capture serializable DoubleFunction.- Type Parameters:
- R- the type of the result of the function
- Parameters:
- function- lambda to capture
- Returns:
- serializable DoubleFunction
 
 - 
doubleToIntFunctionpublic static Remote.DoubleToIntFunction doubleToIntFunction(Remote.DoubleToIntFunction function) Capture serializable DoubleToIntFunction.- Parameters:
- function- lambda to capture
- Returns:
- serializable DoubleToIntFunction
 
 - 
doubleToLongFunctionpublic static Remote.DoubleToLongFunction doubleToLongFunction(Remote.DoubleToLongFunction function) Capture serializable DoubleToLongFunction.- Parameters:
- function- lambda to capture
- Returns:
- serializable DoubleToLongFunction
 
 - 
intFunctionpublic static <R> Remote.IntFunction<R> intFunction(Remote.IntFunction<R> function) Capture serializable IntFunction.- Type Parameters:
- R- the type of the result of the function
- Parameters:
- function- lambda to capture
- Returns:
- serializable IntFunction
 
 - 
intToDoubleFunctionpublic static Remote.IntToDoubleFunction intToDoubleFunction(Remote.IntToDoubleFunction function) Capture serializable IntToDoubleFunction.- Parameters:
- function- lambda to capture
- Returns:
- serializable IntToDoubleFunction
 
 - 
intToLongFunctionpublic static Remote.IntToLongFunction intToLongFunction(Remote.IntToLongFunction function) Capture serializable IntToLongFunction.- Parameters:
- function- lambda to capture
- Returns:
- serializable IntToLongFunction
 
 - 
longFunctionpublic static <R> Remote.LongFunction<R> longFunction(Remote.LongFunction<R> function) Capture serializable LongFunction.- Type Parameters:
- R- the type of the result of the function
- Parameters:
- function- lambda to capture
- Returns:
- serializable LongFunction
 
 - 
longToDoubleFunctionpublic static Remote.LongToDoubleFunction longToDoubleFunction(Remote.LongToDoubleFunction function) Capture serializable LongToDoubleFunction.- Parameters:
- function- lambda to capture
- Returns:
- serializable LongToDoubleFunction
 
 - 
longToIntFunctionpublic static Remote.LongToIntFunction longToIntFunction(Remote.LongToIntFunction function) Capture serializable LongToIntFunction.- Parameters:
- function- lambda to capture
- Returns:
- serializable LongToIntFunction
 
 - 
toDoubleFunctionpublic static <T> Remote.ToDoubleFunction<T> toDoubleFunction(Remote.ToDoubleFunction<T> function) Capture serializable ToDoubleFunction.- Type Parameters:
- T- the type of the input to the function
- Parameters:
- function- lambda to capture
- Returns:
- serializable ToDoubleFunction
 
 - 
toIntFunctionpublic static <T> Remote.ToIntFunction<T> toIntFunction(Remote.ToIntFunction<T> function) Capture serializable ToIntFunction.- Type Parameters:
- T- the type of the input to the function
- Parameters:
- function- lambda to capture
- Returns:
- serializable ToIntFunction
 
 - 
toLongFunctionpublic static <T> Remote.ToLongFunction<T> toLongFunction(Remote.ToLongFunction<T> function) Capture serializable ToLongFunction.- Type Parameters:
- T- the type of the input to the function
- Parameters:
- function- lambda to capture
- Returns:
- serializable ToLongFunction
 
 - 
toDoubleBiFunctionpublic static <T,U> Remote.ToDoubleBiFunction<T,U> toDoubleBiFunction(Remote.ToDoubleBiFunction<T,U> biFunction) Capture serializable ToDoubleBiFunction.- Type Parameters:
- T- the type of the first argument to the function
- U- the type of the second argument to the function
- Parameters:
- biFunction- lambda to capture
- Returns:
- serializable ToDoubleBiFunction
 
 - 
toIntBiFunctionpublic static <T,U> Remote.ToIntBiFunction<T,U> toIntBiFunction(Remote.ToIntBiFunction<T,U> biFunction) Capture serializable ToIntBiFunction.- Type Parameters:
- T- the type of the first argument to the function
- U- the type of the second argument to the function
- Parameters:
- biFunction- lambda to capture
- Returns:
- serializable ToIntBiFunction
 
 - 
toLongBiFunctionpublic static <T,U> Remote.ToLongBiFunction<T,U> toLongBiFunction(Remote.ToLongBiFunction<T,U> biFunction) Capture serializable ToLongBiFunction.- Type Parameters:
- T- the type of the first argument to the function
- U- the type of the second argument to the function
- Parameters:
- biFunction- lambda to capture
- Returns:
- serializable ToLongBiFunction
 
 - 
predicatepublic static <T> Remote.Predicate<T> predicate(Remote.Predicate<T> predicate) Capture serializable Predicate.- Type Parameters:
- T- the type of the input to the predicate
- Parameters:
- predicate- lambda to capture
- Returns:
- serializable Predicate
 
 - 
biPredicatepublic static <T,U> Remote.BiPredicate<T,U> biPredicate(Remote.BiPredicate<T,U> biPredicate) Capture serializable BiPredicate.- Type Parameters:
- T- the type of the first argument to the predicate
- U- the type of the second argument the predicate
- Parameters:
- biPredicate- lambda to capture
- Returns:
- serializable BiPredicate
 
 - 
doublePredicatepublic static Remote.DoublePredicate doublePredicate(Remote.DoublePredicate predicate) Capture serializable DoublePredicate.- Parameters:
- predicate- lambda to capture
- Returns:
- serializable DoublePredicate
 
 - 
intPredicatepublic static Remote.IntPredicate intPredicate(Remote.IntPredicate predicate) Capture serializable IntPredicate.- Parameters:
- predicate- lambda to capture
- Returns:
- serializable IntPredicate
 
 - 
longPredicatepublic static Remote.LongPredicate longPredicate(Remote.LongPredicate predicate) Capture serializable LongPredicate.- Parameters:
- predicate- lambda to capture
- Returns:
- serializable LongPredicate
 
 - 
supplierpublic static <T> Remote.Supplier<T> supplier(Remote.Supplier<T> supplier) Capture serializable Supplier.- Type Parameters:
- T- the type of results supplied by this supplier
- Parameters:
- supplier- lambda to capture
- Returns:
- serializable Supplier
 
 - 
booleanSupplierpublic static Remote.BooleanSupplier booleanSupplier(Remote.BooleanSupplier supplier) Capture serializable BooleanSupplier.- Parameters:
- supplier- lambda to capture
- Returns:
- serializable BooleanSupplier
 
 - 
doubleSupplierpublic static Remote.DoubleSupplier doubleSupplier(Remote.DoubleSupplier supplier) Capture serializable DoubleSupplier.- Parameters:
- supplier- lambda to capture
- Returns:
- serializable DoubleSupplier
 
 - 
intSupplierpublic static Remote.IntSupplier intSupplier(Remote.IntSupplier supplier) Capture serializable IntSupplier.- Parameters:
- supplier- lambda to capture
- Returns:
- serializable IntSupplier
 
 - 
longSupplierpublic static Remote.LongSupplier longSupplier(Remote.LongSupplier supplier) Capture serializable LongSupplier.- Parameters:
- supplier- lambda to capture
- Returns:
- serializable LongSupplier
 
 - 
binaryOperatorpublic static <T> Remote.BinaryOperator<T> binaryOperator(Remote.BinaryOperator<T> operator) Capture serializable BinaryOperator.- Type Parameters:
- T- the type of the operands and result of the operator
- Parameters:
- operator- lambda to capture
- Returns:
- serializable BinaryOperator
 
 - 
doubleBinaryOperatorpublic static Remote.DoubleBinaryOperator doubleBinaryOperator(Remote.DoubleBinaryOperator operator) Capture serializable DoubleBinaryOperator.- Parameters:
- operator- lambda to capture
- Returns:
- serializable DoubleBinaryOperator
 
 - 
intBinaryOperatorpublic static Remote.IntBinaryOperator intBinaryOperator(Remote.IntBinaryOperator operator) Capture serializable IntBinaryOperator.- Parameters:
- operator- lambda to capture
- Returns:
- serializable IntBinaryOperator
 
 - 
longBinaryOperatorpublic static Remote.LongBinaryOperator longBinaryOperator(Remote.LongBinaryOperator operator) Capture serializable LongBinaryOperator.- Parameters:
- operator- lambda to capture
- Returns:
- serializable LongBinaryOperator
 
 - 
unaryOperatorpublic static <T> Remote.UnaryOperator<T> unaryOperator(Remote.UnaryOperator<T> operator) Capture serializable UnaryOperator.- Type Parameters:
- T- the type of the operand and result of the operator
- Parameters:
- operator- lambda to capture
- Returns:
- serializable UnaryOperator
 
 - 
doubleUnaryOperatorpublic static Remote.DoubleUnaryOperator doubleUnaryOperator(Remote.DoubleUnaryOperator operator) Capture serializable DoubleUnaryOperator.- Parameters:
- operator- lambda to capture
- Returns:
- serializable DoubleUnaryOperator
 
 - 
intUnaryOperatorpublic static Remote.IntUnaryOperator intUnaryOperator(Remote.IntUnaryOperator operator) Capture serializable IntUnaryOperator.- Parameters:
- operator- lambda to capture
- Returns:
- serializable IntUnaryOperator
 
 - 
longUnaryOperatorpublic static Remote.LongUnaryOperator longUnaryOperator(Remote.LongUnaryOperator operator) Capture serializable LongUnaryOperator.- Parameters:
- operator- lambda to capture
- Returns:
- serializable LongUnaryOperator
 
 - 
comparatorpublic static <T> Remote.Comparator<T> comparator(Remote.Comparator<T> comparator) Capture serializable Comparator.- Parameters:
- comparator- lambda to capture
- Returns:
- serializable Comparator
 
 - 
comparatorpublic static <T,E extends Comparable<? super E>> Remote.Comparator<T> comparator(ValueExtractor<? super T,? extends E> extractor) CreateRemote.Comparatorfor the specified extractor that returns aComparablevalue.- Parameters:
- extractor- a- ValueExtractorthat returns a- Comparablevalue
- Returns:
- a Comparator instance
 
 - 
runnablepublic static Remote.Runnable runnable(Remote.Runnable runnable) Capture serializable Runnable.- Parameters:
- runnable- lambda to capture
- Returns:
- serializable Runnable
 
 - 
callablepublic static <V> Remote.Callable<V> callable(Remote.Callable<V> callable) Capture serializable Callable.- Parameters:
- callable- lambda to capture
- Returns:
- serializable Callable
 
 
- 
 
-