Package org.wildfly.clustering.function
Interface LongSupplier
- All Superinterfaces:
LongSupplier
Enhanced
LongSupplier.- Author:
- Paul Ferraro
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboxed()Returns a boxed version of this supplier.default LongSupplierhandle(ToLongFunction<RuntimeException> handler) Returns a new supplier that delegates to this supplier using the specified exception handler.default <V> Supplier<V> map(LongFunction<V> mapper) Returns a supplier that returns the value this function mapped via the specified function.static LongSupplierof(long value) Methods inherited from interface java.util.function.LongSupplier
getAsLong
-
Field Details
-
ZERO
-
-
Method Details
-
map
Returns a supplier that returns the value this function mapped via the specified function.- Type Parameters:
V- the mapped value type- Parameters:
mapper- a mapping function- Returns:
- a supplier that returns the value this function mapped via the specified function.
-
boxed
Returns a boxed version of this supplier.- Returns:
- a boxed version of this supplier.
-
handle
Returns a new supplier that delegates to this supplier using the specified exception handler.- Parameters:
handler- an exception handler- Returns:
- a new supplier that delegates to this supplier using the specified exception handler.
-
of
-