Index

A C E F G I N O P R S T 
All Classes and Interfaces|All Packages

A

accept(T) - Method in interface io.blt.util.functional.ThrowingConsumer
Performs this operation on the given argument.
accumulator() - Method in class io.blt.util.stream.SingletonCollectors.SingletonCollector
 
apply(T) - Method in interface io.blt.util.functional.ThrowingFunction
Applies this function to the given argument.

C

characteristics() - Method in class io.blt.util.stream.SingletonCollectors.SingletonCollector
 
combiner() - Method in class io.blt.util.stream.SingletonCollectors.SingletonCollector
 
computeIfAbsent(Map<K, V>, K, ThrowingFunction<? super K, ? extends V, E>) - Static method in class io.blt.util.Ctr
For the specified map, if there is no value for the specified key then compute will be called and the result entered into the map.
computeIfAbsent(Map<K, V>, K, ThrowingSupplier<? extends V, E>) - Static method in class io.blt.util.Ctr
For the specified map, if there is no value for the specified key then compute will be called and the result entered into the map.
Ctr - Class in io.blt.util
Static utility methods for operating on implementations of Collection and Map i.e., Containers.

E

En - Class in io.blt.util
Static utility methods for operating on Enum.
Ex - Class in io.blt.util
Static utility methods centred around Exception and Throwable.

F

finisher() - Method in class io.blt.util.stream.SingletonCollectors.SingletonCollector
 

G

get() - Method in interface io.blt.util.functional.ThrowingSupplier
Returns a result.
getOptional() - Method in class io.blt.util.stream.SingletonCollectors.Container
 
getValue() - Method in class io.blt.util.stream.SingletonCollectors.Container
 

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
 

N

newInstanceOf(T) - Static method in class io.blt.util.Obj
Returns a new instance of the same type as the input object if possible; otherwise, returns empty.

O

Obj - Class in io.blt.util
Static utility methods for operating on Object.
of(Class<E>, String) - Static method in class io.blt.util.En
Returns the enum constant matching name as an Optional; otherwise, returns empty.
ofIgnoreCase(Class<E>, String) - Static method in class io.blt.util.En
Returns the enum constant matching name as an Optional; otherwise, returns empty.
orElseGet(T, ThrowingSupplier<T, E>) - Static method in class io.blt.util.Obj
Returns value if non-null, else invokes and returns the result of supplier.
orElseOnException(ThrowingSupplier<T, E>, T) - Static method in class io.blt.util.Obj
Invokes and returns the result of supplier if no exception is thrown, else returns defaultValue.
orEmptyOnException(ThrowingSupplier<T, E>) - Static method in class io.blt.util.Obj
Invokes and returns the result of supplier if no exception is thrown; otherwise, returns empty.

P

poke(T, ThrowingConsumer<T, E>) - Static method in class io.blt.util.Obj
Passes the instance to the consumer, then returns the instance.

R

run() - Method in interface io.blt.util.functional.ThrowingRunnable
Performs this operation.

S

setValue(T) - Method in class io.blt.util.stream.SingletonCollectors.Container
 
SingletonCollectors - Class in io.blt.util.stream
Implementations of Collector that reduce to exactly one or zero elements.
SingletonCollectors.Container<T> - Class in io.blt.util.stream
 
SingletonCollectors.SingletonCollector<T,R> - Class in io.blt.util.stream
 
supplier() - Method in class io.blt.util.stream.SingletonCollectors.SingletonCollector
 

T

tap(Supplier<T>, ThrowingConsumer<T, E>) - Static method in class io.blt.util.Obj
Calls the supplier to retrieve an instance which is mutated by the consumer then returned.
throwIf(T, Predicate<? super T>, Supplier<? extends E>) - Static method in class io.blt.util.Ex
Throws the specified throwable if the given value satisfies the provided predicate.
ThrowingConsumer<T,E> - Interface in io.blt.util.functional
Represents an operation that accepts a single input argument that may throw.
ThrowingFunction<T,R,E> - Interface in io.blt.util.functional
Represents a function that may throw and accepts one argument and produces a result.
ThrowingRunnable<E> - Interface in io.blt.util.functional
Represents an operation that may throw.
ThrowingSupplier<T,E> - Interface in io.blt.util.functional
Represents a supplier of results that may throw.
throwUnless(T, Predicate<? super T>, Supplier<? extends E>) - Static method in class io.blt.util.Ex
Throws the specified throwable if the given value does not satisfy the provided predicate.
toNullable() - Static method in class io.blt.util.stream.SingletonCollectors
Returns a Collector that accumulates the only element, if any, into a nullable Object.
toOptional() - Static method in class io.blt.util.stream.SingletonCollectors
Returns a Collector that accumulates the only element, if any, into an Optional.
transformExceptions(ThrowingRunnable<? extends Exception>, Function<? super Exception, E>) - Static method in class io.blt.util.Ex
Executes a runnable, transforming any thrown Exception using a specified function.
transformExceptions(ThrowingSupplier<R, ? extends Exception>, Function<? super Exception, E>) - Static method in class io.blt.util.Ex
Executes a supplier, transforming any thrown Exception using a specified function.
transformValues(Map<K, V>, ThrowingFunction<? super V, R, E>) - Static method in class io.blt.util.Ctr
Returns a new Map containing the entries of source with transform applied to the values.
A C E F G I N O P R S T 
All Classes and Interfaces|All Packages