Index
All Classes and Interfaces|All Packages
A
- accept(T) - Method in interface io.blt.util.functional.ThrowingConsumer
-
Performs this operation on the given argument.
G
- get() - Method in interface io.blt.util.functional.ThrowingSupplier
-
Returns a result.
I
- io.blt.util - package io.blt.util
- io.blt.util.functional - package io.blt.util.functional
- io.blt.util.stream - package io.blt.util.stream
O
- Obj - Class in io.blt.util
-
Static utility methods for operating on
Object. - orElseGet(T, ThrowingSupplier<T, E>) - Static method in class io.blt.util.Obj
-
Returns
valueif non-null, else invokes and returns the result ofsupplier.
P
- poke(T, ThrowingConsumer<T, E>) - Static method in class io.blt.util.Obj
-
Passes the
instanceto theconsumer, then returns theinstance.
S
- SingletonCollectors - Class in io.blt.util.stream
-
Implementations of
Collectorthat reduce to exactly one or zero elements.
T
- tap(Supplier<T>, ThrowingConsumer<T, E>) - Static method in class io.blt.util.Obj
-
Calls the
supplierto retrieve an instance which is mutated by theconsumerthen returned. - ThrowingConsumer<T,
E extends Throwable> - Interface in io.blt.util.functional -
Represents an operation that accepts a single input argument that may throw.
- ThrowingSupplier<T,
E extends Throwable> - Interface in io.blt.util.functional -
Represents a supplier of results that may throw.
- toNullable() - Static method in class io.blt.util.stream.SingletonCollectors
-
Returns a
Collectorthat accumulates the only element, if any, into a nullableObject. - toOptional() - Static method in class io.blt.util.stream.SingletonCollectors
-
Returns a
Collectorthat accumulates the only element, if any, into anOptional.
All Classes and Interfaces|All Packages