Skip navigation links
A B C D E F G H I J L M N O P R S T U V W _ 

A

allEquals(Object, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
allEquals(Object, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
allEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
allEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
allEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
allEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
allEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
allEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
allEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
and(Boolean, Boolean) - Static method in class stonehorse.candy.NullableBooleans
true if TRUE and TRUE
and(Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are all suppliers returning true.
and(Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are all suppliers returning true.
and(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are all suppliers returning true.
and(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are all suppliers returning true.
and(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are all suppliers returning true.
and(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are all suppliers returning true.
and(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are all suppliers returning true.
and(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are all suppliers returning true.
and(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are all suppliers returning true.
anyEquals(Object, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
anyEquals(Object, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
anyEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
anyEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
anyEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
anyEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
anyEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
anyEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
anyEquals(Object, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Static method in class stonehorse.candy.SupplierLogic
Do the values of all suppliers equal o.
apply(boolean) - Method in interface stonehorse.candy.BooleanOperator
 
arrayList() - Static method in class stonehorse.candy.Lists
 
arrayList(T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
arrayList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList() - Static method in class stonehorse.candy.Lists
 
asList(T) - Static method in class stonehorse.candy.Lists
 
asList(T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
asList(T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) - Static method in class stonehorse.candy.Lists
 
Atomic - Class in stonehorse.candy
 
Atomic() - Constructor for class stonehorse.candy.Atomic
 
atomic(boolean) - Static method in class stonehorse.candy.Atomic
 
atomic(int) - Static method in class stonehorse.candy.Atomic
 
atomic(long) - Static method in class stonehorse.candy.Atomic
 
atomic(T) - Static method in class stonehorse.candy.Atomic
 

B

BooleanOperator - Interface in stonehorse.candy
 

C

Choices - Class in stonehorse.candy
Expression replacements for the if-statements
complement(Predicate<? super T>) - Static method in class stonehorse.candy.Functions
Returns a function that return false if supplied returns true, and true is supplied returns false
compose(Function<? super A, ? extends B>, Function<? super B, ? extends V>) - Static method in class stonehorse.candy.Functions
Returns a composed function that first applies f1 to its input, and then f2 to the result..
concat(Iterable<T>, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators concatenating iterators from a and b *
cond(Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Always returns value of v0.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cond(Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<Boolean>, Supplier<? extends T>, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
Evaluates each test t in order until true, in which case value of corresponding v is returned.
cycle(Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy infinite iterators elements of in.

D

doIfElse(boolean, Runnable, Runnable) - Static method in class stonehorse.candy.Choices
Like ifelse without any return value, to express side effect
doIfNot(boolean, Runnable, Runnable) - Static method in class stonehorse.candy.Choices
Like ifNot without any return value, to express side effect
done(V) - Static method in class stonehorse.candy.Trampoline
return done to when last value is found
doWhen(boolean, Runnable) - Static method in class stonehorse.candy.Choices
Like when without any return value, to express side effect
doWhenNot(boolean, Runnable) - Static method in class stonehorse.candy.Choices
Like whenNo without any return value, to express side effect
drop(int, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators but the num first elements of iterable
dropLast(int, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators emitting all elements except last num elements
dropWhile(Predicate<? super T>, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators emitting all elements but except the first matching predicate

E

either(T, Predicate<? super T>, Function<? super T, ? extends V>, Function<? super T, ? extends V>) - Static method in class stonehorse.candy.Choices
Transforms t with then if p test t or otherwise transforms t.
equals(Object) - Method in class stonehorse.candy.Identity
 

F

fifth(Tuples.T5<?, ?, ?, ?, T>) - Static method in class stonehorse.candy.Tuples
 
filter(Predicate<? super T>, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators filtering another Iterable using a predicate
filter(Optional<T>, Predicate<? super T>) - Static method in class stonehorse.candy.Maybe
 
first(Iterable<T>) - Static method in class stonehorse.candy.Iterables
The first element of the next iterator of iterable or null
first(Tuples.T1<T>) - Static method in class stonehorse.candy.Tuples
 
flatmap(Function<? super T, Identity<V>>) - Method in class stonehorse.candy.Identity
 
flatmap(Function<? super V, Identity<T>>, Identity<V>) - Static method in class stonehorse.candy.Identity
 
flatMap(Function<? super V, Iterable<A>>, Iterable<? extends V>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators which concatenate the result of applying map to every element in iterators of data.
flatmap(Function<? super T, Optional<V>>, Optional<T>) - Static method in class stonehorse.candy.Maybe
 
fold(BiFunction<? super A, ? super V, ? extends A>, A, Iterable<? extends V>) - Static method in class stonehorse.candy.Iterables
Combines elements of the first iterator into a single result by repeated application of a combining operation f where the initial result is accumulator *
forceList(Iterable<A>) - Static method in class stonehorse.candy.Iterables
A new list with elements found in the next iterator of iterable
forceSet(Iterable<A>) - Static method in class stonehorse.candy.Iterables
A new set with elements found in the next iterator of iterable
fourth(Tuples.T4<?, ?, ?, T>) - Static method in class stonehorse.candy.Tuples
 
fun - Variable in class stonehorse.candy.Trampoline.Continuation
 
function(BiFunction<? super T, ? super U, ? extends V>, T) - Static method in class stonehorse.candy.Functions
Produces a Function of a BiFunction by supplying the first argument
Functions - Class in stonehorse.candy
Functions for basic functional composition

G

get() - Method in class stonehorse.candy.Identity
 
get(Identity<? extends T>) - Static method in class stonehorse.candy.Identity
 
get(Optional<T>, T) - Static method in class stonehorse.candy.Maybe
 

H

has(Optional<?>) - Static method in class stonehorse.candy.Maybe
 
hashCode() - Method in class stonehorse.candy.Identity
 
hasValue - Variable in class stonehorse.candy.Trampoline.Continuation
 

I

identity() - Static method in class stonehorse.candy.Functions
returns the identity function, which returns the argument applied
Identity<T> - Class in stonehorse.candy
The identity
identity(T) - Static method in class stonehorse.candy.Identity
 
ifelse(boolean, Supplier<T>, Supplier<T>) - Static method in class stonehorse.candy.Choices
Evaluates then and returns its value unless test is false, in which case otherwise is evaluated and its value returned.
ifNot(boolean, Supplier<T>, Supplier<T>) - Static method in class stonehorse.candy.Choices
Evaluates then and returns its value unless test is true, in which case otherwise is evaluated and its value returned.
ifPresent(Optional<T>, Consumer<? super T>) - Static method in class stonehorse.candy.Maybe
 
iterable(Stream<T>) - Static method in class stonehorse.candy.Iterables
Iterable of stream
Iterables - Class in stonehorse.candy
Functions of iterables creating lazy iterators.
iterate(Function<? super T, ? extends T>, T) - Static method in class stonehorse.candy.Iterables
Iterable of lazy infinite iterators iterating over function with initial value.

J

just(T) - Static method in class stonehorse.candy.Maybe
 

L

last(Iterable<T>) - Static method in class stonehorse.candy.Iterables
The last element of the next iterator of iterable or null
lazy(Supplier<Trampoline.Continuation<V>>) - Static method in class stonehorse.candy.Trampoline
Emits a lazy Iterable recuring until stop, done, null or lack of f
list(Iterable<A>) - Static method in class stonehorse.candy.Iterables
A list with elements found in the next iterator of iterable.
Lists - Class in stonehorse.candy
 

M

map(Function<? super T, ? extends V>) - Method in class stonehorse.candy.Identity
 
map(Function<? super V, ? extends T>, Identity<V>) - Static method in class stonehorse.candy.Identity
 
map(Function<? super A, V>, Iterable<A>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators applying a function to all element induced by a Iterable
map(BiFunction<? super A, ? super B, V>, Iterable<? extends A>, Iterable<? extends B>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators applying a combining function to every element induced by two Iterables, until one of the iterators are empty.
map(Function<? super T, ? extends V>, Optional<T>) - Static method in class stonehorse.candy.Maybe
 
mapOr(T, Function<T, V>, Supplier<V>) - Static method in class stonehorse.candy.Choices
Return application of t to f, unless t is null, in which case evaluation of supplier s returns
Maybe - Class in stonehorse.candy
Functional interface for Optional
maybe(T) - Static method in class stonehorse.candy.Maybe
 

N

next(Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators emitting all elements but first from iterable or null if empty
not(Boolean) - Static method in class stonehorse.candy.NullableBooleans
false if TRUE
nothing() - Static method in class stonehorse.candy.Maybe
 
nth(int, Iterable<T>) - Static method in class stonehorse.candy.Iterables
The nth element of the next iterator of iterable or null
NullableBooleans - Class in stonehorse.candy
Boolean operations on Boolean where null is false

O

of(T) - Static method in class stonehorse.candy.Tuples
 
of(F, S) - Static method in class stonehorse.candy.Tuples
 
of(F, S, T) - Static method in class stonehorse.candy.Tuples
 
of(V1, V2, V3, V4) - Static method in class stonehorse.candy.Tuples
 
of(V1, V2, V3, V4, V5) - Static method in class stonehorse.candy.Tuples
 
or(Boolean, Boolean) - Static method in class stonehorse.candy.NullableBooleans
true if any is TRUE
or(Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are any suppliers returning true.
or(Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are any suppliers returning true.
or(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are any suppliers returning true.
or(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are any suppliers returning true.
or(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are any suppliers returning true.
or(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are any suppliers returning true.
or(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are any suppliers returning true.
or(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are any suppliers returning true.
or(Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>) - Static method in class stonehorse.candy.SupplierLogic
Are any suppliers returning true.
otherwise(Optional<T>, Supplier<T>) - Static method in class stonehorse.candy.Maybe
 

P

partition(int, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators partitioning elements into num long iterables
partitionBy(Function<? super T, Object>, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators partitioning elements by application to function *

R

range() - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators iterating from 0 to Integer.MAX_VALUE
range(int) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators iterating from 0 to n
range(int, int) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators iterating from from to to
range(int, int, int) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators iterating from from to to in steps of step
recur(Supplier<Trampoline.Continuation<V>>) - Static method in class stonehorse.candy.Trampoline
return recur to recur withLast f and a
reduce(BiFunction<? super T, ? super T, ? extends T>, Iterable<? extends T>) - Static method in class stonehorse.candy.Iterables
Combines elements of the first iterator into a single result by repeated application of a combining operation f where the initial result is first element *
reductions(BiFunction<? super V, ? super A, ? extends V>, V, Iterable<? extends A>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators producing intermediate values of the reduction of elements by f, starting with accumulator
repeat(T) - Static method in class stonehorse.candy.Iterables
Iterable of lazy infinite iterators of x
repeat(int, T) - Static method in class stonehorse.candy.Iterables
 
repeatedly(Supplier<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy infinite iterators with invokes of supplier
requireAllNonNull(Object...) - Static method in class stonehorse.candy.Choices
Throws null pointer exception if any is null
rest(Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators emitting all elements but first from iterable

S

second(Iterable<T>) - Static method in class stonehorse.candy.Iterables
The second element of the next iterator of iterable or null
second(Tuples.T2<?, T>) - Static method in class stonehorse.candy.Tuples
 
seq(Supplier<Trampoline.Continuation<V>>, V) - Static method in class stonehorse.candy.Trampoline
return seq to yield lazy value v, and continue withLast f a f as null is same as done or stop, depending on v Will behave like recur on a trampoline
set(Iterable<A>) - Static method in class stonehorse.candy.Iterables
A set with elements found in the next iterator of iterable.
skip() - Method in interface stonehorse.candy.Tuples.T2
Skip first
skip() - Method in interface stonehorse.candy.Tuples.T3
Skip first
skip() - Method in interface stonehorse.candy.Tuples.T4
Skip first
skip() - Method in interface stonehorse.candy.Tuples.T5
Skip first
splitAt(int, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Tuple of Iterables of lazy iterators by spliting iterables iterators at i.
splitWith(Predicate<T>, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Tuple of Iterables of lazy iterators by spliting iterables iterators by predicate.
stonehorse.candy - package stonehorse.candy
 
stop() - Static method in class stonehorse.candy.Trampoline
Return stop when done without a value.
stream(Iterable<T>) - Static method in class stonehorse.candy.Iterables
Stream of iterable
supplier(Function<? super T, ? extends V>, T) - Static method in class stonehorse.candy.Functions
produces a supplier by applying the argument to a functions, without calling the function.
SupplierLogic - Class in stonehorse.candy
Functions for basic logical operations on Suppliers.
swap(AtomicReference<T>, UnaryOperator<T>) - Static method in class stonehorse.candy.Atomic
 
swap(AtomicInteger, IntUnaryOperator) - Static method in class stonehorse.candy.Atomic
 
swap(AtomicLong, LongUnaryOperator) - Static method in class stonehorse.candy.Atomic
 
swap(AtomicBoolean, BooleanOperator) - Static method in class stonehorse.candy.Atomic
 

T

take(int, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators having num first values of iterable
takeNth(int, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators with every nth element of iterables iterator
takeWhile(Predicate<? super T>, Iterable<T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators having the first elements matching predicate
third(Tuples.T3<?, ?, T>) - Static method in class stonehorse.candy.Tuples
 
thread(T) - Static method in class stonehorse.candy.Threading
t is returned
thread(T0, Function<T0, T1>) - Static method in class stonehorse.candy.Threading
t is applied to f
thread(T0, Function<T0, T1>, Function<T1, T2>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
thread(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
thread(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
thread(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
thread(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
thread(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
thread(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>, Function<T7, T8>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
thread(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>, Function<T7, T8>, Function<T8, T9>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
thread(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>, Function<T7, T8>, Function<T8, T9>, Function<T9, T10>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
thread(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>, Function<T7, T8>, Function<T8, T9>, Function<T9, T10>, Function<T10, T11>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 and so on
Threading - Class in stonehorse.candy
Functions for function composition in reversed order, in order to visually serialize nested funktion calls.
threadMaybe(T) - Static method in class stonehorse.candy.Threading
t is returned
threadMaybe(T0, Function<T0, T1>) - Static method in class stonehorse.candy.Threading
t is applied to f unless it is null
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>, Function<T7, T8>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>, Function<T7, T8>, Function<T8, T9>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>, Function<T7, T8>, Function<T8, T9>, Function<T9, T10>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
threadMaybe(T0, Function<T0, T1>, Function<T1, T2>, Function<T2, T3>, Function<T3, T4>, Function<T4, T5>, Function<T5, T6>, Function<T6, T7>, Function<T7, T8>, Function<T8, T9>, Function<T9, T10>, Function<T10, T11>) - Static method in class stonehorse.candy.Threading
The result of applying the first argument t0 to the first function f0 is applied to the second function f1 unless its null and so on
toString() - Method in class stonehorse.candy.Identity
 
Trampoline - Class in stonehorse.candy
Functions for tail call
trampoline(Supplier<Trampoline.Continuation<V>>) - Static method in class stonehorse.candy.Trampoline
Will recur on fun until done(value)
Trampoline.Continuation<V> - Class in stonehorse.candy
Tail call return value
truth(Boolean) - Static method in class stonehorse.candy.NullableBooleans
true if TRUE
Tuples - Class in stonehorse.candy
A set of imutable tuples, where larger extends the smaller.
Tuples.T1<V> - Interface in stonehorse.candy
 
Tuples.T2<V1,V2> - Interface in stonehorse.candy
 
Tuples.T3<V1,V2,V3> - Interface in stonehorse.candy
 
Tuples.T4<V1,V2,V3,V4> - Interface in stonehorse.candy
 
Tuples.T5<V1,V2,V3,V4,V5> - Interface in stonehorse.candy
 

U

unless(Supplier<T>, boolean, Supplier<T>) - Static method in class stonehorse.candy.Choices
Evaluates then and returns its value unless test is true, in which case otherwise is evaluated and its value returned.
unlessNull(T, Supplier<? extends T>) - Static method in class stonehorse.candy.Choices
t is delivered unless it is null, in which case the evaluation of then is returned

V

value(AtomicInteger) - Static method in class stonehorse.candy.Atomic
 
value(AtomicLong) - Static method in class stonehorse.candy.Atomic
 
value(AtomicBoolean) - Static method in class stonehorse.candy.Atomic
 
value(AtomicReference<T>) - Static method in class stonehorse.candy.Atomic
 
value - Variable in class stonehorse.candy.Trampoline.Continuation
 

W

when(boolean, Supplier<T>) - Static method in class stonehorse.candy.Choices
Then is evaluated and its value returned if test is true.
whenNot(boolean, Supplier<T>) - Static method in class stonehorse.candy.Choices
Then is evaluated and its value returned if test is false.
with(T, Iterable<? extends T>) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators prepending t to each iterator of iterable
with_1(X) - Method in interface stonehorse.candy.Tuples.T1
new Type of Tuple
with_1(X) - Method in interface stonehorse.candy.Tuples.T2
new Type of Tuple
with_1(X) - Method in interface stonehorse.candy.Tuples.T3
new Type of Tuple
with_1(X) - Method in interface stonehorse.candy.Tuples.T4
new Type of Tuple
with_1(X) - Method in interface stonehorse.candy.Tuples.T5
new Type of Tuple
with_2(X) - Method in interface stonehorse.candy.Tuples.T1
new Type of Tuple
with_2(X) - Method in interface stonehorse.candy.Tuples.T2
new Type of Tuple
with_2(X) - Method in interface stonehorse.candy.Tuples.T3
new Type of Tuple
with_2(X) - Method in interface stonehorse.candy.Tuples.T4
new Type of Tuple
with_2(X) - Method in interface stonehorse.candy.Tuples.T5
new Type of Tuple
with_3(X) - Method in interface stonehorse.candy.Tuples.T2
 
with_3(X) - Method in interface stonehorse.candy.Tuples.T3
new Type of Tuple
with_3(X) - Method in interface stonehorse.candy.Tuples.T4
new Type of Tuple
with_3(X) - Method in interface stonehorse.candy.Tuples.T5
new Type of Tuple
with_4(X) - Method in interface stonehorse.candy.Tuples.T3
 
with_4(X) - Method in interface stonehorse.candy.Tuples.T4
new Type of Tuple
with_4(X) - Method in interface stonehorse.candy.Tuples.T5
new Type of Tuple
with_5(X) - Method in interface stonehorse.candy.Tuples.T4
new Type of Tuple
with_5(X) - Method in interface stonehorse.candy.Tuples.T5
new Type of Tuple
withLast(Iterable<T>, T) - Static method in class stonehorse.candy.Iterables
Iterable of lazy iterators appending b to each iterator of iterable *

_

_1() - Method in interface stonehorse.candy.Tuples.T1
 
_1(V) - Method in interface stonehorse.candy.Tuples.T1
 
_1(V1) - Method in interface stonehorse.candy.Tuples.T2
 
_1(V1) - Method in interface stonehorse.candy.Tuples.T3
 
_1(V1) - Method in interface stonehorse.candy.Tuples.T4
 
_1(V1) - Method in interface stonehorse.candy.Tuples.T5
 
_2() - Method in interface stonehorse.candy.Tuples.T2
 
_2(V2) - Method in interface stonehorse.candy.Tuples.T2
 
_2(V2) - Method in interface stonehorse.candy.Tuples.T3
 
_2(V2) - Method in interface stonehorse.candy.Tuples.T4
 
_2(V2) - Method in interface stonehorse.candy.Tuples.T5
 
_3() - Method in interface stonehorse.candy.Tuples.T3
 
_3(V3) - Method in interface stonehorse.candy.Tuples.T3
 
_3(V3) - Method in interface stonehorse.candy.Tuples.T4
 
_3(V3) - Method in interface stonehorse.candy.Tuples.T5
 
_4() - Method in interface stonehorse.candy.Tuples.T4
 
_4(V4) - Method in interface stonehorse.candy.Tuples.T4
 
_4(V4) - Method in interface stonehorse.candy.Tuples.T5
 
_5() - Method in interface stonehorse.candy.Tuples.T5
 
_5(V5) - Method in interface stonehorse.candy.Tuples.T5
 
A B C D E F G H I J L M N O P R S T U V W _ 
Skip navigation links

Copyright © 2017. All rights reserved.