Package org.wildfly.clustering.function
Interface IntSupplier
- All Superinterfaces:
IntSupplier
Enhanced
IntSupplier.- Author:
- Paul Ferraro
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboxed()Returns a boxed version of this supplier.default IntSupplierhandle(ToIntFunction<RuntimeException> handler) Returns a new supplier that delegates to this supplier using the specified exception handler.default <V> Supplier<V> map(IntFunction<V> mapper) Returns a supplier that returns the value this function mapped via the specified function.static IntSupplierof(int value) Methods inherited from interface java.util.function.IntSupplier
getAsInt
-
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
-