Index

A C F G I N O P 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
 
Ctr - Class in io.blt.util
Static utility methods for operating on implementations of Collection and Map i.e.

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.
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.
orOnException(T) - Method in interface io.blt.util.functional.ThrowingSupplier
Returns the result of ThrowingSupplier.get() if no exception is thrown, else returns value.

P

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

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.Obj
Throws the specified throwable if the given value satisfies the provided predicate.
ThrowingConsumer<T,E extends Throwable> - Interface in io.blt.util.functional
Represents an operation that accepts a single input argument that may throw.
ThrowingFunction<T,R,E extends Throwable> - Interface in io.blt.util.functional
Represents a function that may throw and accepts one argument and produces a result.
ThrowingSupplier<T,E extends Throwable> - 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.Obj
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.
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 F G I N O P S T 
All Classes and Interfaces|All Packages