Index

A B C D E F G H I J L M N O P R S T U V Z 
All Classes and Interfaces|All Packages

A

absent() - Static method in class org.dmfs.jems2.optional.Absent
Returns an Absent value.
Absent<T> - Class in org.dmfs.jems2.optional
An Optional value that's never present.
Absent() - Constructor for class org.dmfs.jems2.optional.Absent
 
AllOf<T> - Class in org.dmfs.jems2.predicate
A Predicate which is satisfied if all of a given number of predicates are satisfied.
AllOf(Iterable<? extends Predicate<? super T>>) - Constructor for class org.dmfs.jems2.predicate.AllOf
 
AllOf(Predicate<? super T>...) - Constructor for class org.dmfs.jems2.predicate.AllOf
 
AnyOf<T> - Class in org.dmfs.jems2.predicate
A Predicate which is satisfied if any of a given number of predicates are satisfied.
AnyOf(Iterable<? extends Predicate<? super T>>) - Constructor for class org.dmfs.jems2.predicate.AnyOf
 
AnyOf(Predicate<? super T>...) - Constructor for class org.dmfs.jems2.predicate.AnyOf
 
AnyOf(T...) - Constructor for class org.dmfs.jems2.predicate.AnyOf
 
Anything<T> - Class in org.dmfs.jems2.predicate
A trivial Predicate which matches anything.
Anything() - Constructor for class org.dmfs.jems2.predicate.Anything
 
Ascending<T extends Comparable<? super T>> - Class in org.dmfs.jems2.iterable
An Iterable decorator which returns the elements of the delegate in their natural ascending order.
Ascending(Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Ascending
 
Ascii - Class in org.dmfs.jems2.charsequence
A CharSequence adapter to ASCII encoded byte arrays.
Ascii(byte...) - Constructor for class org.dmfs.jems2.charsequence.Ascii
 
Ascii(byte[], int, int) - Constructor for class org.dmfs.jems2.charsequence.Ascii
 

B

Backed<T> - Class in org.dmfs.jems2.single
Single and Optional that delegates to the given Optional if that is present, otherwise falls back to the provided back-up Single.
Backed(Optional<? extends T>, Fragile<? extends T, ? extends RuntimeException>) - Constructor for class org.dmfs.jems2.single.Backed
 
Backed(Optional<? extends T>, T) - Constructor for class org.dmfs.jems2.single.Backed
 
BaseIterator<E> - Class in org.dmfs.jems2.iterator
The abstract super class of all Iterators in this package.
BaseIterator() - Constructor for class org.dmfs.jems2.iterator.BaseIterator
 
Batch<T> - Class in org.dmfs.jems2.procedure
A Procedure, which processes the elements of an Iterable using another Procedure.
Batch(Procedure<? super T>) - Constructor for class org.dmfs.jems2.procedure.Batch
 
BiFunction<Argument1,Argument2,Result> - Interface in org.dmfs.jems2
A binary function.
BiProcedure<Argument1,Argument2> - Interface in org.dmfs.jems2
Functional interface for a void function taking two arguments.
bottom() - Method in interface org.dmfs.jems2.Stack.StackTop
Returns the underlying Stack.
Broken<T,E extends Exception> - Class in org.dmfs.jems2.fragile
A Fragile which is broken and always throws an Exception.
Broken(E) - Constructor for class org.dmfs.jems2.fragile.Broken
 
By<Left,Right> - Class in org.dmfs.jems2.bifunction
A BiFunction which compares two instances of different types by mapping them onto a common type and using a Comparator to compare those results.
By<T> - Class in org.dmfs.jems2.comparator
A Comparator which compares objects by a key derived from the compared objects.
By(Function<? super Left, ? extends V>, Function<? super Right, ? extends V>) - Constructor for class org.dmfs.jems2.bifunction.By
 
By(Function<? super Left, ? extends V>, Function<? super Right, ? extends V>, Comparator<? super V>) - Constructor for class org.dmfs.jems2.bifunction.By
 
By(Function<? super T, ? extends V>) - Constructor for class org.dmfs.jems2.comparator.By
 
By(Function<? super T, ? extends V>, Comparator<? super V>) - Constructor for class org.dmfs.jems2.comparator.By
 

C

charAt(int) - Method in class org.dmfs.jems2.charsequence.Ascii
 
charAt(int) - Method in class org.dmfs.jems2.charsequence.DelegatingCharSequence
 
charAt(int) - Method in class org.dmfs.jems2.charsequence.Grouped
 
charAt(int) - Method in class org.dmfs.jems2.charsequence.Hex
 
Chunked<T> - Class in org.dmfs.jems2.iterable
An Iterable decorator which returns the elements of the decorated Iterable in chunks of a specific size.
Chunked<T> - Class in org.dmfs.jems2.iterator
In Iterator decorator which returns the elements of the decorated Iterator in chunks of a specific size.
Chunked(int, Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Chunked
 
Chunked(int, Iterator<T>) - Constructor for class org.dmfs.jems2.iterator.Chunked
 
Clamping<T extends Comparable<T>> - Class in org.dmfs.jems2.function
Function decorator that 'clamps' the value between the provided min and max values.
Clamping(T, T) - Constructor for class org.dmfs.jems2.function.Clamping
 
Clustered<T> - Class in org.dmfs.jems2.iterable
An Iterable decorator which clusters consecutive elements of another Iterable by the result of a Comparator.
Clustered<T> - Class in org.dmfs.jems2.iterator
An Iterator decorator which clusters consecutive elements of another Iterator by the result of a Comparator.
Clustered(Comparator<? super T>, Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Clustered
 
Clustered(Comparator<? super T>, Iterator<T>) - Constructor for class org.dmfs.jems2.iterator.Clustered
 
Collapsed<T> - Class in org.dmfs.jems2.optional
Collapses the given Optional of Optional into Optional.
Collapsed(Optional<? extends Optional<T>>) - Constructor for class org.dmfs.jems2.optional.Collapsed
 
Collected<Value,Collection extends Collection<Value>> - Class in org.dmfs.jems2.single
A Single holding the collected values of an Iterable.
Collected(Generator<? extends Collection>, Iterable<? extends Value>) - Constructor for class org.dmfs.jems2.single.Collected
 
compare(Optional<? extends V>, Optional<? extends V>) - Method in class org.dmfs.jems2.comparator.OptionalComparator
 
compare(T, T) - Method in class org.dmfs.jems2.comparator.By
 
compare(T, T) - Method in class org.dmfs.jems2.comparator.DelegatingComparator
 
compare(T, T) - Method in class org.dmfs.jems2.comparator.Reverse
 
Composite<T> - Class in org.dmfs.jems2.comparator
A Comparator which delegates the comparison of two instances to other Comparators until the first one returns a non-zero result.
Composite<T> - Class in org.dmfs.jems2.procedure
A Procedure composed of other procedures.
Composite(Iterable<? extends Comparator<? super T>>) - Constructor for class org.dmfs.jems2.comparator.Composite
 
Composite(Iterable<? extends Procedure<? super T>>) - Constructor for class org.dmfs.jems2.procedure.Composite
 
Composite(Comparator<? super T>...) - Constructor for class org.dmfs.jems2.comparator.Composite
 
Composite(Procedure<? super T>...) - Constructor for class org.dmfs.jems2.procedure.Composite
 
Concat<E> - Class in org.dmfs.jems2.iterator
An Iterator that concatenates the results of other Iterators.
Concat(Iterator<E>...) - Constructor for class org.dmfs.jems2.iterator.Concat
Constructor of an Iterator that serializes the elements of other Iterators.
Concat(Iterator<Iterator<E>>) - Constructor for class org.dmfs.jems2.iterator.Concat
Constructor of an Iterator that serializes the elements of the Iterators iterated by the given Iterator.
Conditional<T> - Class in org.dmfs.jems2.optional
Optional that is present with the value of the provided target if it satisfies the given Predicate, otherwise it is absent.
Conditional<T> - Class in org.dmfs.jems2.procedure
A Procedure which only executes if the argument satisfies a Predicate.
Conditional(Predicate<? super T>, Procedure<T>) - Constructor for class org.dmfs.jems2.procedure.Conditional
 
Conditional(Predicate<? super T>, Single<T>) - Constructor for class org.dmfs.jems2.optional.Conditional
 
Conditional(Predicate<T>, T) - Constructor for class org.dmfs.jems2.optional.Conditional
 

D

DelegatingBiFunction<Left,Right,Result> - Class in org.dmfs.jems2.bifunction
An abstract BiFunction which delegates to another given BiFunction.
DelegatingBiFunction(BiFunction<Left, Right, Result>) - Constructor for class org.dmfs.jems2.bifunction.DelegatingBiFunction
 
DelegatingBiProcedure<Argument1,Argument2> - Class in org.dmfs.jems2.biprocedure
An abstract BiProcedure which delegates to another BiProcedure.
DelegatingBiProcedure(BiProcedure<Argument1, Argument2>) - Constructor for class org.dmfs.jems2.biprocedure.DelegatingBiProcedure
 
DelegatingCharSequence - Class in org.dmfs.jems2.charsequence
CharSequence that delegates all calls to another CharSequence.
DelegatingCharSequence(CharSequence) - Constructor for class org.dmfs.jems2.charsequence.DelegatingCharSequence
 
DelegatingComparator<T> - Class in org.dmfs.jems2.comparator
An abstract Comparator which delegates to another Comparator.
DelegatingComparator(Comparator<T>) - Constructor for class org.dmfs.jems2.comparator.DelegatingComparator
 
DelegatingFragile<T,E extends Exception> - Class in org.dmfs.jems2.fragile
An abstract Fragile which delegates all calls to another Fragile.
DelegatingFragile(Fragile<T, E>) - Constructor for class org.dmfs.jems2.fragile.DelegatingFragile
 
DelegatingFunction<Argument,Result> - Class in org.dmfs.jems2.function
An abstract Function which delegates to another Function.
DelegatingFunction(Function<Argument, Result>) - Constructor for class org.dmfs.jems2.function.DelegatingFunction
 
DelegatingGeneratable<T> - Class in org.dmfs.jems2.generatable
An abstract Generatable which delegates to another Generatable.
DelegatingGeneratable(Generatable<T>) - Constructor for class org.dmfs.jems2.generatable.DelegatingGeneratable
 
DelegatingGenerator<Type> - Class in org.dmfs.jems2.generator
An abstract Generator which delegates to another Generator.
DelegatingGenerator(Generator<Type>) - Constructor for class org.dmfs.jems2.generator.DelegatingGenerator
 
DelegatingIterable<E> - Class in org.dmfs.jems2.iterable
An abstract Iterable which delegates all method calls to another given Iterable.
DelegatingIterable(Iterable<E>) - Constructor for class org.dmfs.jems2.iterable.DelegatingIterable
 
DelegatingIterator<E> - Class in org.dmfs.jems2.iterator
An abstract Iterator which delegates all method calls to another given Iterator.
DelegatingIterator(Iterator<E>) - Constructor for class org.dmfs.jems2.iterator.DelegatingIterator
 
DelegatingOptional<T> - Class in org.dmfs.jems2.optional
An abstract Optional which delegates all method calls to another given Optional.
DelegatingOptional(Optional<T>) - Constructor for class org.dmfs.jems2.optional.DelegatingOptional
 
DelegatingPair<L,R> - Class in org.dmfs.jems2.pair
An abstract Pair which delegates to another Pair.
DelegatingPair(Pair<L, R>) - Constructor for class org.dmfs.jems2.pair.DelegatingPair
 
DelegatingPredicate<T> - Class in org.dmfs.jems2.predicate
A Predicate which just delegates to another Predicate.
DelegatingPredicate(Predicate<T>) - Constructor for class org.dmfs.jems2.predicate.DelegatingPredicate
 
DelegatingProcedure<Argument> - Class in org.dmfs.jems2.procedure
An abstract Procedure which delegates to another Procedure.
DelegatingProcedure(Procedure<Argument>) - Constructor for class org.dmfs.jems2.procedure.DelegatingProcedure
 
DelegatingSingle<T> - Class in org.dmfs.jems2.single
A Single which delegates all calls to another Single.
DelegatingSingle(Fragile<T, ? extends RuntimeException>) - Constructor for class org.dmfs.jems2.single.DelegatingSingle
 
Descending<T extends Comparable<? super T>> - Class in org.dmfs.jems2.iterable
An Iterable decorator which returns the elements of the delegate in their natural descending order.
Descending(Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Descending
 
Diff<Left,Right> - Class in org.dmfs.jems2.iterable
An Iterable of the differences of two given Iterables.
Diff<Left,Right> - Class in org.dmfs.jems2.iterator
An Iterator returning the differences of two given (sorted) Iterators.
Diff(Iterable<Left>, Iterable<Right>, BiFunction<? super Left, ? super Right, Integer>) - Constructor for class org.dmfs.jems2.iterable.Diff
 
Diff(Iterator<Left>, Iterator<Right>, BiFunction<? super Left, ? super Right, Integer>) - Constructor for class org.dmfs.jems2.iterator.Diff
 
DiffMap<Left,Right,Result> - Class in org.dmfs.jems2.function
A Function to be used to map the result of Diff using three delegate functions.
DiffMap(BiFunction<? super Left, ? super Right, ? extends Result>, Function<? super Left, ? extends Result>, Function<? super Right, ? extends Result>) - Constructor for class org.dmfs.jems2.function.DiffMap
 
Digest - Class in org.dmfs.jems2.single
A Single of a byte array which represents the digested value of the given input data.
Digest(Generator<? extends MessageDigest>, byte[]...) - Constructor for class org.dmfs.jems2.single.Digest
 
Digest(Generator<? extends MessageDigest>, CharSequence...) - Constructor for class org.dmfs.jems2.single.Digest
 
Digest(Generator<? extends MessageDigest>, Iterable<? extends Fragile<byte[], ? extends RuntimeException>>) - Constructor for class org.dmfs.jems2.single.Digest
 
Digest(Generator<? extends MessageDigest>, String, CharSequence...) - Constructor for class org.dmfs.jems2.single.Digest
 
Digest(Generator<? extends MessageDigest>, Fragile<byte[], ? extends RuntimeException>...) - Constructor for class org.dmfs.jems2.single.Digest
 
DigestGenerator - Class in org.dmfs.jems2.generator
A Generator for MessageDigest instances of a specific digest algorithm.
DigestGenerator(String) - Constructor for class org.dmfs.jems2.generator.DigestGenerator
 
DigestGenerator(Single<String>) - Constructor for class org.dmfs.jems2.generator.DigestGenerator
 
Distinct<T> - Class in org.dmfs.jems2.iterable
An Iterator which drops duplicates of already iterated elements.
Distinct<T> - Class in org.dmfs.jems2.iterator
An Iterator which drops duplicates of already iterated elements.
Distinct(Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Distinct
 
Distinct(Iterator<T>) - Constructor for class org.dmfs.jems2.iterator.Distinct
 
Distinct(Function<? super T, ? extends V>, Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Distinct
 
Distinct(Function<? super T, ? extends V>, Iterator<T>) - Constructor for class org.dmfs.jems2.iterator.Distinct
 

E

element() - Method in interface org.dmfs.jems2.Stack.StackTop
Returns the topmost stack element.
emptyIterable() - Static method in class org.dmfs.jems2.iterable.EmptyIterable
 
EmptyIterable<E> - Class in org.dmfs.jems2.iterable
An Iterable that is always empty.
EmptyIterable() - Constructor for class org.dmfs.jems2.iterable.EmptyIterable
 
emptyIterator() - Static method in class org.dmfs.jems2.iterator.EmptyIterator
 
EmptyIterator<E> - Class in org.dmfs.jems2.iterator
An Iterator that is always empty.
EmptyIterator() - Constructor for class org.dmfs.jems2.iterator.EmptyIterator
 
EmptyStack<Element> - Class in org.dmfs.jems2.stack
A Stack without any elements.
EmptyStack() - Constructor for class org.dmfs.jems2.stack.EmptyStack
 
equals(Object) - Method in class org.dmfs.jems2.iterator.BaseIterator
 
Equals<T> - Class in org.dmfs.jems2.predicate
A trivial Predicate which delegates to Object.equals(Object) and matches if it returns true.
Equals(T) - Constructor for class org.dmfs.jems2.predicate.Equals
 
Expanded<T> - Class in org.dmfs.jems2.iterable
A decorator for Iterable which expands each element into an Iterable (using the given function) and joins the results.
Expanded(Function<? super V, ? extends Iterable<? extends T>>, Iterable<V>) - Constructor for class org.dmfs.jems2.iterable.Expanded
 
Expanded(Function<? super V, ? extends Iterable<? extends T>>, Optional<V>) - Constructor for class org.dmfs.jems2.iterable.Expanded
 

F

First<T> - Class in org.dmfs.jems2.iterable
An Iterable decorator which returns only the first few elements of the delegate.
First<T> - Class in org.dmfs.jems2.iterator
An Iterator which returns the first few elements of a delegate Iterator or Generator.
First<T> - Class in org.dmfs.jems2.optional
The first value of an Iterable.
First(int, Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.First
 
First(int, Iterator<T>) - Constructor for class org.dmfs.jems2.iterator.First
 
First(int, Generatable<T>) - Constructor for class org.dmfs.jems2.iterable.First
 
First(int, Generator<T>) - Constructor for class org.dmfs.jems2.iterator.First
 
First(Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.First
 
First(Iterable<T>) - Constructor for class org.dmfs.jems2.optional.First
Creates the Optional first value of the given Iterable.
First(Generatable<T>) - Constructor for class org.dmfs.jems2.iterable.First
 
First(Predicate<? super T>, Iterable<T>) - Constructor for class org.dmfs.jems2.optional.First
Creates an Optional of the first value of the given Iterable which matches the given Predicate.
FirstPresent<T> - Class in org.dmfs.jems2.optional
The first present value of an Iterable of Optionals.
FirstPresent(Iterable<? extends Optional<T>>) - Constructor for class org.dmfs.jems2.optional.FirstPresent
 
FirstPresent(Optional<T>...) - Constructor for class org.dmfs.jems2.optional.FirstPresent
 
ForEach<T> - Class in org.dmfs.jems2.procedure
The Object Oriented version of a for-each loop.
ForEach(Iterable<T>) - Constructor for class org.dmfs.jems2.procedure.ForEach
 
ForEach(Optional<T>) - Constructor for class org.dmfs.jems2.procedure.ForEach
 
ForEach(Single<T>) - Constructor for class org.dmfs.jems2.procedure.ForEach
 
ForEach(T...) - Constructor for class org.dmfs.jems2.procedure.ForEach
 
Fragile<T,E extends Exception> - Interface in org.dmfs.jems2
A 1-tuple that may throw an Exception during retrieval of the value.
FragileBiFunction<Argument1,Argument2,Result,E extends Exception> - Interface in org.dmfs.jems2
A binary function that can throw a checked Exception.
FragileBiProcedure<Argument1,Argument2,E extends Exception> - Interface in org.dmfs.jems2
Functional interface for a void function taking two arguments that can throw a checked Exception.
FragileFunction<Argument,Result,E extends Exception> - Interface in org.dmfs.jems2
An unary function that can throw a checked Exception.
FragileProcedure<Argument,Error extends Exception> - Interface in org.dmfs.jems2
Functional interface for a void function taking one argument that can throw a checked Exception.
Frozen<T> - Class in org.dmfs.jems2.iterable
An Iterable stores the elements of the given Iterator or Iterable in order to allow re-iterating them.
Frozen<T> - Class in org.dmfs.jems2.optional
An Optional decorator which avoids frequent (potentially expensive) evaluation of another Optional by retaining the result of the first evaluation.
Frozen<T> - Class in org.dmfs.jems2.single
Single decorator that queries the delegate only once and returns the same value instance ever after.
Frozen(Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Frozen
 
Frozen(Fragile<T, ? extends RuntimeException>) - Constructor for class org.dmfs.jems2.single.Frozen
 
Frozen(Optional<T>) - Constructor for class org.dmfs.jems2.optional.Frozen
 
Function<Argument,Value> - Interface in org.dmfs.jems2
An unary function.

G

Generatable<T> - Interface in org.dmfs.jems2
A Generatable can return a Generator.
generator() - Method in class org.dmfs.jems2.generatable.DelegatingGeneratable
 
generator() - Method in interface org.dmfs.jems2.Generatable
 
generator() - Method in class org.dmfs.jems2.generatable.Sequence
 
Generator<T> - Interface in org.dmfs.jems2
A Generator is able to generate an infinite sequence of values.
GreaterAbsent<V> - Class in org.dmfs.jems2.comparator
A Comparator for Optional values.
GreaterAbsent(Comparator<? super Optional<? extends V>>) - Constructor for class org.dmfs.jems2.comparator.GreaterAbsent
 
Grouped - Class in org.dmfs.jems2.charsequence
A CharSequence decorator which divides the delegate into groups of a specific size and inserts a separator char between them.
Grouped(int, char, CharSequence) - Constructor for class org.dmfs.jems2.charsequence.Grouped
 

H

hashCode() - Method in class org.dmfs.jems2.iterator.BaseIterator
 
hasNext() - Method in class org.dmfs.jems2.iterator.Chunked
 
hasNext() - Method in class org.dmfs.jems2.iterator.Clustered
 
hasNext() - Method in class org.dmfs.jems2.iterator.Concat
 
hasNext() - Method in class org.dmfs.jems2.iterator.DelegatingIterator
 
hasNext() - Method in class org.dmfs.jems2.iterator.Diff
 
hasNext() - Method in class org.dmfs.jems2.iterator.EmptyIterator
 
hasNext() - Method in class org.dmfs.jems2.iterator.First
 
hasNext() - Method in class org.dmfs.jems2.iterator.Infinite
 
hasNext() - Method in class org.dmfs.jems2.iterator.Joined
 
hasNext() - Method in class org.dmfs.jems2.iterator.Mapped
 
hasNext() - Method in class org.dmfs.jems2.iterator.PresentValues
 
hasNext() - Method in class org.dmfs.jems2.iterator.Seq
 
hasNext() - Method in class org.dmfs.jems2.iterator.Sieved
 
hasNext() - Method in class org.dmfs.jems2.iterator.SingleIterator
 
hasNext() - Method in class org.dmfs.jems2.iterator.SingletonIterator
 
hasNext() - Method in class org.dmfs.jems2.iterator.StackIterator
 
hasNext() - Method in class org.dmfs.jems2.iterator.Zipped
 
Having<Original,Derived> - Class in org.dmfs.jems2.predicate
A Predicate which delegates the test to another Predicate testing a value derived from the original testee.
Having(Function<? super Original, ? extends Derived>, Derived) - Constructor for class org.dmfs.jems2.predicate.Having
 
Having(Function<? super Original, ? extends Derived>, Predicate<? super Derived>) - Constructor for class org.dmfs.jems2.predicate.Having
 
Hex - Class in org.dmfs.jems2.charsequence
The hexadecimal CharSequence representation of a byte array.
Hex - Class in org.dmfs.jems2.single
The Single of a hexadecimal representation of a Single array of bytes.
Hex(byte[]) - Constructor for class org.dmfs.jems2.charsequence.Hex
 
Hex(byte[], int, int) - Constructor for class org.dmfs.jems2.charsequence.Hex
 
Hex(Fragile<byte[], ? extends RuntimeException>) - Constructor for class org.dmfs.jems2.single.Hex
 

I

identity() - Static method in class org.dmfs.jems2.function.IdentityFunction
 
IdentityFunction<Argument> - Class in org.dmfs.jems2.function
Identity function.
IdentityFunction() - Constructor for class org.dmfs.jems2.function.IdentityFunction
 
In<T extends Comparable<T>> - Class in org.dmfs.jems2.predicate
A Predicate which is satisfied by Comparable elements within a specific closed interval.
In(T, T) - Constructor for class org.dmfs.jems2.predicate.In
 
Infinite<T> - Class in org.dmfs.jems2.iterable
A Generatable to Iterable adapter which continues iterating forever.
Infinite<T> - Class in org.dmfs.jems2.iterator
An Generator to Iterator adapter which iterates infinitely.
Infinite(Generatable<T>) - Constructor for class org.dmfs.jems2.iterable.Infinite
 
Infinite(Generator<T>) - Constructor for class org.dmfs.jems2.iterator.Infinite
 
isPresent() - Method in class org.dmfs.jems2.optional.Absent
 
isPresent() - Method in class org.dmfs.jems2.optional.Collapsed
 
isPresent() - Method in class org.dmfs.jems2.optional.DelegatingOptional
 
isPresent() - Method in interface org.dmfs.jems2.Optional
Returns whether the optional value is present.
isPresent() - Method in class org.dmfs.jems2.optional.Just
 
isPresent() - Method in class org.dmfs.jems2.optional.LazyDelegatingOptional
 
isPresent() - Method in class org.dmfs.jems2.optional.Mapped
 
isPresent() - Method in class org.dmfs.jems2.optional.NullSafe
 
isPresent() - Method in class org.dmfs.jems2.optional.Present
 
isPresent() - Method in class org.dmfs.jems2.optional.Restrained
 
isPresent() - Method in class org.dmfs.jems2.optional.Zipped
 
isPresent() - Method in class org.dmfs.jems2.single.Backed
 
IterableComparator<T> - Class in org.dmfs.jems2.comparator
Comparator for Iterables.
IterableComparator(Comparator<? super Optional<? extends T>>) - Constructor for class org.dmfs.jems2.comparator.IterableComparator
 
iterator() - Method in class org.dmfs.jems2.iterable.Chunked
 
iterator() - Method in class org.dmfs.jems2.iterable.Clustered
 
iterator() - Method in class org.dmfs.jems2.iterable.DelegatingIterable
 
iterator() - Method in class org.dmfs.jems2.iterable.Diff
 
iterator() - Method in class org.dmfs.jems2.iterable.EmptyIterable
 
iterator() - Method in class org.dmfs.jems2.iterable.Frozen
 
iterator() - Method in class org.dmfs.jems2.iterable.Infinite
 
iterator() - Method in class org.dmfs.jems2.iterable.Joined
 
iterator() - Method in class org.dmfs.jems2.iterable.Just
 
iterator() - Method in class org.dmfs.jems2.iterable.LeftZipped
 
iterator() - Method in class org.dmfs.jems2.iterable.OuterZipped
 
iterator() - Method in class org.dmfs.jems2.iterable.Reverse
 
iterator() - Method in class org.dmfs.jems2.iterable.RightZipped
 
iterator() - Method in class org.dmfs.jems2.iterable.Seq
 
iterator() - Method in class org.dmfs.jems2.iterable.Sieved
 
iterator() - Method in class org.dmfs.jems2.iterable.SingletonIterable
 
iterator() - Method in class org.dmfs.jems2.iterable.Sorted
 
iterator() - Method in class org.dmfs.jems2.iterable.StackIterable
 

J

Joined<T> - Class in org.dmfs.jems2.iterable
An Iterable which joins other Iterables by iterating the values of them one after another.
Joined<E> - Class in org.dmfs.jems2.iterator
An Iterator that serializes the values of multiple Iterables.
Joined(Iterable<? extends E>...) - Constructor for class org.dmfs.jems2.iterator.Joined
Constructor of an Iterator that serializes the elements of Iterables.
Joined(Iterable<? extends Iterable<? extends T>>) - Constructor for class org.dmfs.jems2.iterable.Joined
 
Joined(Iterable<? extends T>...) - Constructor for class org.dmfs.jems2.iterable.Joined
 
Joined(Iterable<? extends T>, T...) - Constructor for class org.dmfs.jems2.iterable.Joined
 
Joined(Iterator<? extends Iterable<? extends E>>) - Constructor for class org.dmfs.jems2.iterator.Joined
Constructor of a Joined Iterator.
Joined(Optional<? extends Iterable<? extends T>>...) - Constructor for class org.dmfs.jems2.iterable.Joined
 
Just<T> - Class in org.dmfs.jems2.iterable
An Iterable which iterates a single value.
Just<T> - Class in org.dmfs.jems2.optional
A present Optional that takes a Single for the value.
Just<T> - Class in org.dmfs.jems2.single
The most simple Single there is.
Just(Single<T>) - Constructor for class org.dmfs.jems2.iterable.Just
 
Just(Single<T>) - Constructor for class org.dmfs.jems2.optional.Just
 
Just(T) - Constructor for class org.dmfs.jems2.iterable.Just
 
Just(T) - Constructor for class org.dmfs.jems2.single.Just
 

L

LazyDelegatingOptional<T> - Class in org.dmfs.jems2.optional
An abstract Optional which delegates all method calls to another given Optional.
LazyDelegatingOptional(Single<Optional<T>>) - Constructor for class org.dmfs.jems2.optional.LazyDelegatingOptional
 
left() - Method in class org.dmfs.jems2.pair.DelegatingPair
 
left() - Method in interface org.dmfs.jems2.Pair
The left value of the pair, i.e. the 1st value in this 2-tuple.
left() - Method in class org.dmfs.jems2.pair.LeftSidedPair
 
left() - Method in class org.dmfs.jems2.pair.RightSidedPair
 
left() - Method in class org.dmfs.jems2.pair.ValuePair
 
LeftSidedPair<Left,Right> - Class in org.dmfs.jems2.pair
A Pair with an absent right element.
LeftSidedPair(Left) - Constructor for class org.dmfs.jems2.pair.LeftSidedPair
 
LeftWith<Left> - Class in org.dmfs.jems2.predicate
A Predicate to match the left value of a Pair.
LeftWith(Predicate<? super Left>) - Constructor for class org.dmfs.jems2.predicate.LeftWith
 
LeftZipped<Left,Right,Result> - Class in org.dmfs.jems2.iterable
/** An Iterable combining the elements of two given Iterables using a BiFunction.
LeftZipped(Iterable<? extends Left>, Iterable<? extends Right>, BiFunction<? super Left, ? super Optional<? extends Right>, ? extends Result>) - Constructor for class org.dmfs.jems2.iterable.LeftZipped
 
length() - Method in class org.dmfs.jems2.charsequence.Ascii
 
length() - Method in class org.dmfs.jems2.charsequence.DelegatingCharSequence
 
length() - Method in class org.dmfs.jems2.charsequence.Grouped
 
length() - Method in class org.dmfs.jems2.charsequence.Hex
 

M

MapCollapsed<From,To> - Class in org.dmfs.jems2.optional
Optional decorator maps the given Optional to an Optional and collapses the result.
MapCollapsed(Function<? super From, ? extends Optional<To>>, Optional<From>) - Constructor for class org.dmfs.jems2.optional.MapCollapsed
 
MapEntry<V> - Class in org.dmfs.jems2.optional
An Optional element of a Map.
MapEntry(Map<? super K, ? extends V>, K) - Constructor for class org.dmfs.jems2.optional.MapEntry
 
Mapped<From,To,E extends Exception> - Class in org.dmfs.jems2.fragile
A Fragile decorator which maps the value using a given FragileFunction.
Mapped<OriginalType,ResultType> - Class in org.dmfs.jems2.iterable
Iterable decorator maps the results of the delegate Iterable using a given Function.
Mapped<OriginalType,ResultType> - Class in org.dmfs.jems2.iterator
An Iterator that maps the elements of another Iterator using a Function before iterating them.
Mapped<From,To> - Class in org.dmfs.jems2.optional
Optional that maps an Optional if it's present using the given Function.
Mapped(FragileFunction<? super From, ? extends To, ? extends E>, Fragile<From, ? extends E>) - Constructor for class org.dmfs.jems2.fragile.Mapped
 
Mapped(Function<? super From, ? extends To>, Optional<From>) - Constructor for class org.dmfs.jems2.optional.Mapped
 
Mapped(Function<? super OriginalType, ? extends ResultType>, Iterable<OriginalType>) - Constructor for class org.dmfs.jems2.iterable.Mapped
 
Mapped(Function<? super OriginalType, ? extends ResultType>, Iterator<OriginalType>) - Constructor for class org.dmfs.jems2.iterator.Mapped
Creates a Mapped Iterator that iterates the elements of the given Iterator after mapping them using the given Function.
Md5 - Class in org.dmfs.jems2.generator
Md5() - Constructor for class org.dmfs.jems2.generator.Md5
 

N

next() - Method in class org.dmfs.jems2.generator.DelegatingGenerator
 
next() - Method in class org.dmfs.jems2.generator.DigestGenerator
 
next() - Method in interface org.dmfs.jems2.Generator
Generates and returns another value.
next() - Method in class org.dmfs.jems2.generator.Sequence
 
next() - Method in class org.dmfs.jems2.iterator.Chunked
 
next() - Method in class org.dmfs.jems2.iterator.Clustered
 
next() - Method in class org.dmfs.jems2.iterator.Concat
 
next() - Method in class org.dmfs.jems2.iterator.DelegatingIterator
 
next() - Method in class org.dmfs.jems2.iterator.Diff
 
next() - Method in class org.dmfs.jems2.iterator.EmptyIterator
 
next() - Method in class org.dmfs.jems2.iterator.First
 
next() - Method in class org.dmfs.jems2.iterator.Infinite
 
next() - Method in class org.dmfs.jems2.iterator.Joined
 
next() - Method in class org.dmfs.jems2.iterator.Mapped
 
next() - Method in class org.dmfs.jems2.iterator.PresentValues
 
next() - Method in class org.dmfs.jems2.iterator.Seq
 
next() - Method in class org.dmfs.jems2.iterator.Sieved
 
next() - Method in class org.dmfs.jems2.iterator.SingleIterator
 
next() - Method in class org.dmfs.jems2.iterator.SingletonIterator
 
next() - Method in class org.dmfs.jems2.iterator.StackIterator
 
next() - Method in class org.dmfs.jems2.iterator.Zipped
 
Next<E> - Class in org.dmfs.jems2.optional
The next value of an Iterator.
Next(Iterator<E>) - Constructor for class org.dmfs.jems2.optional.Next
 
NextPresent<T> - Class in org.dmfs.jems2.optional
The next present value in the given Iterator of Optionals.
NextPresent(Iterator<? extends Optional<T>>) - Constructor for class org.dmfs.jems2.optional.NextPresent
 
NoneOf<T> - Class in org.dmfs.jems2.predicate
A Predicate which matches if none of another sequence of predicates matches.
NoneOf(Iterable<? extends Predicate<? super T>>) - Constructor for class org.dmfs.jems2.predicate.NoneOf
 
NoneOf(Predicate<? super T>...) - Constructor for class org.dmfs.jems2.predicate.NoneOf
 
NoneOf(T...) - Constructor for class org.dmfs.jems2.predicate.NoneOf
 
NonNull<T,E extends Exception> - Class in org.dmfs.jems2.fragile
A Fragile that fails when the given value was null.
NonNull(T, Generator<? extends E>) - Constructor for class org.dmfs.jems2.fragile.NonNull
 
Not<T> - Class in org.dmfs.jems2.predicate
A Predicate which inverts another Predicate.
Not(Predicate<? super T>) - Constructor for class org.dmfs.jems2.predicate.Not
 
Not(T) - Constructor for class org.dmfs.jems2.predicate.Not
 
Nothing<T> - Class in org.dmfs.jems2.predicate
A trivial Predicate which never matches.
Nothing() - Constructor for class org.dmfs.jems2.predicate.Nothing
 
NullSafe<T> - Class in org.dmfs.jems2.optional
An Optional that's not present if the given value is null.
NullSafe(T) - Constructor for class org.dmfs.jems2.optional.NullSafe
 
Numbered<T> - Class in org.dmfs.jems2.iterable
An Iterable decorator which pairs every value of another iterator with it's sequential ordinal number.
Numbered(Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Numbered
 
Numbered(Iterable<T>, int) - Constructor for class org.dmfs.jems2.iterable.Numbered
 
Numbered(Iterable<T>, int, int) - Constructor for class org.dmfs.jems2.iterable.Numbered
 

O

Optional<T> - Interface in org.dmfs.jems2
An optional value.
OptionalComparator<V> - Class in org.dmfs.jems2.comparator
A Comparator for Optional values.
OptionalComparator(Comparator<? super V>) - Constructor for class org.dmfs.jems2.comparator.OptionalComparator
 
org.dmfs.jems2 - package org.dmfs.jems2
 
org.dmfs.jems2.bifunction - package org.dmfs.jems2.bifunction
 
org.dmfs.jems2.biprocedure - package org.dmfs.jems2.biprocedure
 
org.dmfs.jems2.charsequence - package org.dmfs.jems2.charsequence
 
org.dmfs.jems2.comparator - package org.dmfs.jems2.comparator
 
org.dmfs.jems2.fragile - package org.dmfs.jems2.fragile
 
org.dmfs.jems2.function - package org.dmfs.jems2.function
 
org.dmfs.jems2.generatable - package org.dmfs.jems2.generatable
 
org.dmfs.jems2.generator - package org.dmfs.jems2.generator
 
org.dmfs.jems2.iterable - package org.dmfs.jems2.iterable
 
org.dmfs.jems2.iterator - package org.dmfs.jems2.iterator
 
org.dmfs.jems2.optional - package org.dmfs.jems2.optional
 
org.dmfs.jems2.pair - package org.dmfs.jems2.pair
 
org.dmfs.jems2.predicate - package org.dmfs.jems2.predicate
 
org.dmfs.jems2.procedure - package org.dmfs.jems2.procedure
 
org.dmfs.jems2.single - package org.dmfs.jems2.single
 
org.dmfs.jems2.stack - package org.dmfs.jems2.stack
 
OuterZipped<Left,Right,Result> - Class in org.dmfs.jems2.iterable
/** An Iterable combining the elements of two given Iterables using a BiFunction.
OuterZipped(Iterable<? extends Left>, Iterable<? extends Right>, BiFunction<? super Optional<? extends Left>, ? super Optional<? extends Right>, ? extends Result>) - Constructor for class org.dmfs.jems2.iterable.OuterZipped
 

P

Pair<Left,Right> - Interface in org.dmfs.jems2
A pair of typed values, a tuple of two (also called ordered pair).
Paired<Left,Right> - Class in org.dmfs.jems2.iterable
An Iterable combining the elements of two given Iterables into an Iterable of Pairs.
Paired<Left,Right> - Class in org.dmfs.jems2.iterator
An Iterator combining the elements of two given Iterators into an Iterator of Pairs.
Paired(Iterable<Left>, Iterable<Right>) - Constructor for class org.dmfs.jems2.iterable.Paired
 
Paired(Iterator<Left>, Iterator<Right>) - Constructor for class org.dmfs.jems2.iterator.Paired
 
pairingFunction() - Static method in class org.dmfs.jems2.bifunction.PairingFunction
 
PairingFunction<Left,Right> - Class in org.dmfs.jems2.bifunction
A BiFunction that creates a Pair from the two arguments.
PairingFunction() - Constructor for class org.dmfs.jems2.bifunction.PairingFunction
 
PairWith<Left,Right> - Class in org.dmfs.jems2.predicate
A Predicate to match left and right value of a Pair.
PairWith(Predicate<? super Left>, Predicate<? super Right>) - Constructor for class org.dmfs.jems2.predicate.PairWith
 
Predicate<T> - Interface in org.dmfs.jems2
A special function which returns true whenever the argument matches this predicate.
Present<T> - Class in org.dmfs.jems2.optional
A special Optional that's always present.
Present(T) - Constructor for class org.dmfs.jems2.optional.Present
 
PresentValues<T> - Class in org.dmfs.jems2.iterable
Iterable which iterates over the present values in the input Iterable of Optionals.
PresentValues<E> - Class in org.dmfs.jems2.iterator
Iterator that iterates over the present values from the input Iterator of Optionals of E.
PresentValues(Iterable<? extends Optional<? extends T>>) - Constructor for class org.dmfs.jems2.iterable.PresentValues
 
PresentValues(Iterator<? extends Optional<E>>) - Constructor for class org.dmfs.jems2.iterator.PresentValues
 
PresentValues(Optional<? extends T>...) - Constructor for class org.dmfs.jems2.iterable.PresentValues
 
PresentValues(Optional<E>) - Constructor for class org.dmfs.jems2.iterator.PresentValues
 
PresentValues(Optional<E>...) - Constructor for class org.dmfs.jems2.iterator.PresentValues
 
Procedure<T> - Interface in org.dmfs.jems2
Functional interface for a void function taking one argument.
process(Argument) - Method in interface org.dmfs.jems2.FragileProcedure
Executes the procedure with the given argument.
process(Argument) - Method in class org.dmfs.jems2.procedure.DelegatingProcedure
 
process(Argument1, Argument2) - Method in class org.dmfs.jems2.biprocedure.DelegatingBiProcedure
 
process(Argument1, Argument2) - Method in interface org.dmfs.jems2.BiProcedure
Executes the procedure with the given arguments.
process(Argument1, Argument2) - Method in interface org.dmfs.jems2.FragileBiProcedure
Executes the procedure with the given arguments.
process(Iterable<? extends T>) - Method in class org.dmfs.jems2.procedure.Batch
 
process(Procedure<? super T>) - Method in class org.dmfs.jems2.procedure.ForEach
 
process(T) - Method in class org.dmfs.jems2.procedure.Composite
 
process(T) - Method in class org.dmfs.jems2.procedure.Conditional
 
process(T) - Method in interface org.dmfs.jems2.Procedure
Executes the procedure with the given argument.

R

Reduced<Value,Result> - Class in org.dmfs.jems2.single
The Single value of a reduced Iterable.
Reduced(Generator<? extends Result>, BiFunction<? super Result, ? super Value, ? extends Result>, Iterable<Value>) - Constructor for class org.dmfs.jems2.single.Reduced
 
remove() - Method in class org.dmfs.jems2.iterator.BaseIterator
 
Restrained<T> - Class in org.dmfs.jems2.optional
Optional decorator restrains the presence of another Optional with a specific (independent) condition.
Restrained(Single<Boolean>, Optional<T>) - Constructor for class org.dmfs.jems2.optional.Restrained
 
Reverse<T> - Class in org.dmfs.jems2.comparator
A Comparator which reverses the order of another Comparator.
Reverse<T> - Class in org.dmfs.jems2.iterable
Iterable decorator that iterates the values of another Iterable in reverse order.
Reverse(Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Reverse
Creates an Iterable that iterates the given Iterable in reverse.
Reverse(Comparator<? super T>) - Constructor for class org.dmfs.jems2.comparator.Reverse
 
right() - Method in class org.dmfs.jems2.pair.DelegatingPair
 
right() - Method in class org.dmfs.jems2.pair.LeftSidedPair
 
right() - Method in interface org.dmfs.jems2.Pair
The right value of the pair, i.e. the 2nd value in this 2-tuple.
right() - Method in class org.dmfs.jems2.pair.RightSidedPair
 
right() - Method in class org.dmfs.jems2.pair.ValuePair
 
RightSidedPair<Left,Right> - Class in org.dmfs.jems2.pair
A Pair with an absent left element.
RightSidedPair(Right) - Constructor for class org.dmfs.jems2.pair.RightSidedPair
 
RightWith<Right> - Class in org.dmfs.jems2.predicate
A Predicate to match the right value of a Pair.
RightWith(Predicate<? super Right>) - Constructor for class org.dmfs.jems2.predicate.RightWith
 
RightZipped<Left,Right,Result> - Class in org.dmfs.jems2.iterable
/** An Iterable combining the elements of two given Iterables using a BiFunction.
RightZipped(Iterable<? extends Left>, Iterable<? extends Right>, BiFunction<? super Optional<? extends Left>, ? super Right, ? extends Result>) - Constructor for class org.dmfs.jems2.iterable.RightZipped
 

S

SameAs<T> - Class in org.dmfs.jems2.predicate
A trivial Predicate which compares the instances of two objects and matches if they are the same.
SameAs(T) - Constructor for class org.dmfs.jems2.predicate.SameAs
 
satisfiedBy(Pair<?, ? extends Right>) - Method in class org.dmfs.jems2.predicate.RightWith
 
satisfiedBy(Pair<? extends Left, ?>) - Method in class org.dmfs.jems2.predicate.LeftWith
 
satisfiedBy(Single<? extends V>) - Method in class org.dmfs.jems2.predicate.SingleWith
 
satisfiedBy(Original) - Method in class org.dmfs.jems2.predicate.Having
 
satisfiedBy(T) - Method in class org.dmfs.jems2.predicate.AllOf
 
satisfiedBy(T) - Method in class org.dmfs.jems2.predicate.AnyOf
 
satisfiedBy(T) - Method in class org.dmfs.jems2.predicate.Anything
 
satisfiedBy(T) - Method in class org.dmfs.jems2.predicate.DelegatingPredicate
 
satisfiedBy(T) - Method in class org.dmfs.jems2.predicate.In
 
satisfiedBy(T) - Method in class org.dmfs.jems2.predicate.Not
 
satisfiedBy(T) - Method in class org.dmfs.jems2.predicate.Nothing
 
satisfiedBy(T) - Method in class org.dmfs.jems2.predicate.SameAs
 
satisfiedBy(T) - Method in interface org.dmfs.jems2.Predicate
Returns whether the given instance satisfies this predicate.
Seq<T> - Class in org.dmfs.jems2.iterable
Iterable sequence of values.
Seq<E> - Class in org.dmfs.jems2.iterator
An Iterator of a sequence of values.
Seq(int, E[]) - Constructor for class org.dmfs.jems2.iterator.Seq
Creates an Iterator of the first count elements of the given array.
Seq(int, T[]) - Constructor for class org.dmfs.jems2.iterable.Seq
Creates an Iterable of the first count elements of the given array.
Seq(E...) - Constructor for class org.dmfs.jems2.iterator.Seq
Creates an Iterator of the given elements.
Seq(T...) - Constructor for class org.dmfs.jems2.iterable.Seq
Creates an Iterable of the given elements.
Sequence<T> - Class in org.dmfs.jems2.generatable
A sequence Generatable.
Sequence<T> - Class in org.dmfs.jems2.generator
A sequence Generator.
Sequence(Generator<T>, Function<? super T, ? extends T>) - Constructor for class org.dmfs.jems2.generatable.Sequence
 
Sequence(T, Function<? super T, ? extends T>) - Constructor for class org.dmfs.jems2.generator.Sequence
 
Sequence(T, Function<T, T>) - Constructor for class org.dmfs.jems2.generatable.Sequence
 
Sha256 - Class in org.dmfs.jems2.generator
Sha256() - Constructor for class org.dmfs.jems2.generator.Sha256
 
Sieved<E> - Class in org.dmfs.jems2.iterable
Iterable decorator which iterates all elements of the delegate which satisfy a given Predicate.
Sieved<E> - Class in org.dmfs.jems2.iterator
Iterator decorator which iterates all elements of the delegate which satisfy a given Predicate.
Sieved<T> - Class in org.dmfs.jems2.optional
Optional decorator which is present if the delegate is present and satisfies a specific Predicate.
Sieved(Predicate<? super E>, Iterable<E>) - Constructor for class org.dmfs.jems2.iterable.Sieved
 
Sieved(Predicate<? super E>, Iterator<E>) - Constructor for class org.dmfs.jems2.iterator.Sieved
Creates a sieved Iterator which iterates the elements of the given Iterator which match the given Predicate.
Sieved(Predicate<? super T>, Optional<T>) - Constructor for class org.dmfs.jems2.optional.Sieved
 
Single<T> - Interface in org.dmfs.jems2
A 1-tuple.
SingleFunction<T> - Class in org.dmfs.jems2.function
A Function which produces Singles of its arguments.
SingleFunction() - Constructor for class org.dmfs.jems2.function.SingleFunction
 
SingleIterator<E> - Class in org.dmfs.jems2.iterator
An Iterator to iterate the sole value of a Single.
SingleIterator(Single<E>) - Constructor for class org.dmfs.jems2.iterator.SingleIterator
Creates an Iterator which iterates the value of the given Single.
SingleStack<Element> - Class in org.dmfs.jems2.stack
A Stack of a single element.
SingleStack(Element) - Constructor for class org.dmfs.jems2.stack.SingleStack
 
SingleStack(Single<Element>) - Constructor for class org.dmfs.jems2.stack.SingleStack
 
SingletonIterable<E> - Class in org.dmfs.jems2.iterable
Iterable with a single element.
SingletonIterable(E) - Constructor for class org.dmfs.jems2.iterable.SingletonIterable
 
SingletonIterator<E> - Class in org.dmfs.jems2.iterator
An iterator to iterate a single value.
SingletonIterator(E) - Constructor for class org.dmfs.jems2.iterator.SingletonIterator
Creates an Iterator that iterates (only) the given value.
SingleWith<V> - Class in org.dmfs.jems2.predicate
A Predicate to match the value of a Single.
SingleWith(Predicate<? super V>) - Constructor for class org.dmfs.jems2.predicate.SingleWith
 
SingleWith(V) - Constructor for class org.dmfs.jems2.predicate.SingleWith
 
Sorted<T> - Class in org.dmfs.jems2.iterable
An Iterable decorator which returns the elements of the delegate in a sorted order, determined by a given Comparator.
Sorted(Comparator<? super T>, Iterable<T>) - Constructor for class org.dmfs.jems2.iterable.Sorted
 
Stack<Element> - Interface in org.dmfs.jems2
An immutable stack.
Stack.StackTop<Element> - Interface in org.dmfs.jems2
The top of a Stack.
StackIterable<Element> - Class in org.dmfs.jems2.iterable
An Iterable which iterates the elements of a Stack.
StackIterable(Stack<Element>) - Constructor for class org.dmfs.jems2.iterable.StackIterable
 
StackIterator<Element> - Class in org.dmfs.jems2.iterator
An Iterator iterating the elements of a Stack.
StackIterator(Stack<Element>) - Constructor for class org.dmfs.jems2.iterator.StackIterator
 
subSequence(int, int) - Method in class org.dmfs.jems2.charsequence.Ascii
 
subSequence(int, int) - Method in class org.dmfs.jems2.charsequence.DelegatingCharSequence
 
subSequence(int, int) - Method in class org.dmfs.jems2.charsequence.Grouped
 
subSequence(int, int) - Method in class org.dmfs.jems2.charsequence.Hex
 

T

top() - Method in class org.dmfs.jems2.stack.EmptyStack
 
top() - Method in class org.dmfs.jems2.stack.SingleStack
 
top() - Method in interface org.dmfs.jems2.Stack
Retrieves the top of this Stack.
top() - Method in class org.dmfs.jems2.stack.Topped
 
Topped<Element> - Class in org.dmfs.jems2.stack
A Stack based on another Stack and a new top element.
Topped(Element, Stack<Element>) - Constructor for class org.dmfs.jems2.stack.Topped
Creates a new Stack with the given element on top and the given Stack underneath.
toSingle() - Static method in class org.dmfs.jems2.function.SingleFunction
 
toString() - Method in class org.dmfs.jems2.charsequence.Ascii
 
toString() - Method in class org.dmfs.jems2.charsequence.DelegatingCharSequence
 
toString() - Method in class org.dmfs.jems2.charsequence.Grouped
 
toString() - Method in class org.dmfs.jems2.charsequence.Hex
 

U

Unchecked<Argument,Result,E extends Exception> - Class in org.dmfs.jems2.function
A FragileFunction to Function adapter which wraps any Exception into a RuntimeException.
Unchecked<T,E extends Exception> - Class in org.dmfs.jems2.single
A Fragile to Single adapter which throws an unchecked Exception if the fragile delegate is broken.
Unchecked(String, Fragile<T, E>) - Constructor for class org.dmfs.jems2.single.Unchecked
 
Unchecked(String, FragileFunction<Argument, Result, E>) - Constructor for class org.dmfs.jems2.function.Unchecked
 
Unchecked(Fragile<T, E>) - Constructor for class org.dmfs.jems2.single.Unchecked
 
Unchecked(FragileFunction<Argument, Result, E>) - Constructor for class org.dmfs.jems2.function.Unchecked
 
Unchecked(Function<? super E, ? extends RuntimeException>, FragileFunction<Argument, Result, E>) - Constructor for class org.dmfs.jems2.function.Unchecked
 
Unchecked(Function<Exception, ? extends RuntimeException>, Fragile<T, E>) - Constructor for class org.dmfs.jems2.single.Unchecked
 

V

value() - Method in class org.dmfs.jems2.fragile.Broken
 
value() - Method in class org.dmfs.jems2.fragile.DelegatingFragile
 
value() - Method in class org.dmfs.jems2.fragile.NonNull
 
value() - Method in interface org.dmfs.jems2.Fragile
Retrieve the value.
value() - Method in class org.dmfs.jems2.optional.Absent
 
value() - Method in class org.dmfs.jems2.optional.Collapsed
 
value() - Method in class org.dmfs.jems2.optional.DelegatingOptional
 
value() - Method in class org.dmfs.jems2.optional.Just
 
value() - Method in class org.dmfs.jems2.optional.LazyDelegatingOptional
 
value() - Method in class org.dmfs.jems2.optional.Mapped
 
value() - Method in class org.dmfs.jems2.optional.NullSafe
 
value() - Method in class org.dmfs.jems2.optional.Present
 
value() - Method in class org.dmfs.jems2.optional.Restrained
 
value() - Method in interface org.dmfs.jems2.Optional
Returns the optional value.
value() - Method in class org.dmfs.jems2.optional.Zipped
 
value() - Method in class org.dmfs.jems2.single.Backed
 
value() - Method in class org.dmfs.jems2.single.DelegatingSingle
 
value() - Method in class org.dmfs.jems2.single.Digest
 
value() - Method in class org.dmfs.jems2.single.Frozen
 
value() - Method in class org.dmfs.jems2.single.Hex
 
value() - Method in class org.dmfs.jems2.single.Just
 
value() - Method in class org.dmfs.jems2.single.Reduced
 
value() - Method in class org.dmfs.jems2.single.Unchecked
 
value() - Method in interface org.dmfs.jems2.Single
Returns the sole value of this 1-tuple.
value(Argument) - Method in interface org.dmfs.jems2.FragileFunction
Returns the value of this function at the given argument.
value(Argument) - Method in class org.dmfs.jems2.function.DelegatingFunction
 
value(Argument) - Method in class org.dmfs.jems2.function.IdentityFunction
 
value(Argument) - Method in class org.dmfs.jems2.function.Unchecked
 
value(Argument) - Method in interface org.dmfs.jems2.Function
Returns the value of this function at the given argument.
value(Argument1, Argument2) - Method in interface org.dmfs.jems2.BiFunction
Returns the value of this function at the given arguments.
value(Argument1, Argument2) - Method in interface org.dmfs.jems2.FragileBiFunction
Returns the value of this function at the given arguments.
value(Left, Right) - Method in class org.dmfs.jems2.bifunction.DelegatingBiFunction
 
value(Left, Right) - Method in class org.dmfs.jems2.bifunction.PairingFunction
 
value(Pair<? extends Optional<? extends Left>, ? extends Optional<? extends Right>>) - Method in class org.dmfs.jems2.function.DiffMap
 
value(T) - Method in class org.dmfs.jems2.function.Clamping
 
value(T) - Method in class org.dmfs.jems2.function.SingleFunction
 
ValuePair<Left,Right> - Class in org.dmfs.jems2.pair
The most simple Pair there is.
ValuePair(Left, Right) - Constructor for class org.dmfs.jems2.pair.ValuePair
 

Z

Zipped<Result,E extends Exception> - Class in org.dmfs.jems2.fragile
A Fragile which combines two other Fragiles with a FragileBiFunction.
Zipped<Result> - Class in org.dmfs.jems2.iterable
An Iterable combining the elements of two given Iterables using a BiFunction.
Zipped<Left,Right,Result> - Class in org.dmfs.jems2.iterator
An Iterator combining the elements of two given Iterators using a BiFunction.
Zipped<Left,Right,Result> - Class in org.dmfs.jems2.optional
An Optional which combines two other Optionals with a BiFunction if they are both present and is absent otherwise.
Zipped(Iterable<Left>, Iterable<Right>, BiFunction<? super Left, ? super Right, ? extends Result>) - Constructor for class org.dmfs.jems2.iterable.Zipped
 
Zipped(Iterator<Left>, Iterator<Right>, BiFunction<? super Left, ? super Right, ? extends Result>) - Constructor for class org.dmfs.jems2.iterator.Zipped
 
Zipped(Fragile<Left, ? extends E>, Fragile<Right, ? extends E>, BiFunction<? super Left, ? super Right, ? extends Result>) - Constructor for class org.dmfs.jems2.fragile.Zipped
 
Zipped(Fragile<Left, ? extends E>, Fragile<Right, ? extends E>, FragileBiFunction<? super Left, ? super Right, ? extends Result, ? extends E>) - Constructor for class org.dmfs.jems2.fragile.Zipped
 
Zipped(Optional<Left>, Optional<Right>, BiFunction<? super Left, ? super Right, ? extends Result>) - Constructor for class org.dmfs.jems2.optional.Zipped
 
A B C D E F G H I J L M N O P R S T U V Z 
All Classes and Interfaces|All Packages