Index

A B C F I L M N O R S T V _ 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractSequence<S,T> - Class in ste.lloop
A base class for sequences that can be iterated over with indexes.
AbstractSequence() - Constructor for class ste.lloop.AbstractSequence
Creates a new collection sequence.
accept(Integer, K, V) - Method in interface ste.lloop.MapLoopConsumer
Performs this operation on the given arguments.
ArraySequence<T> - Class in ste.lloop
A sequence that loops over an array.
ArraySequence(T[]) - Constructor for class ste.lloop.ArraySequence
Creates a new sequence for the given array.

B

brk(Object...) - Static method in class ste.lloop.Loop
Throws a ReturnValue exception with the given value.

C

CharacterSequence - Class in ste.lloop
A sequence that loops over a CharSequence.
CharacterSequence(CharSequence) - Constructor for class ste.lloop.CharacterSequence
Creates a new sequence for the given CharSequence.

F

fillInStackTrace() - Method in exception class ste.lloop.ReturnValue
Overridden to avoid to create a stack trace, which is an expensive and resource intensive operation.
ForwardOnlySequence<T> - Class in ste.lloop
A sequence that loops only forwards
ForwardOnlySequence() - Constructor for class ste.lloop.ForwardOnlySequence
Constructs a new ForwardOnlySequence instance.
from - Variable in class ste.lloop.NumericSequence
The starting value of the loop (inclusive).
from(int) - Method in class ste.lloop.AbstractSequence
Sets the starting index of the loop (inclusive).
from(int) - Method in class ste.lloop.ForwardOnlySequence
 
from(int) - Method in class ste.lloop.NumericSequence
Sets the starting value of the loop (inclusive).

I

IndexedSequence<T> - Class in ste.lloop
A loop over an array that can be configured with a starting and ending index.
IndexedSequence() - Constructor for class ste.lloop.IndexedSequence
Constructs a new IndexedSequence instance.
indexes - Variable in class ste.lloop.AbstractSequence
The numeric series that controls the looping.
IterableSequence<T> - Class in ste.lloop
A sequence that loops over an iterable and can only go forward.
IterableSequence(Iterable<T>) - Constructor for class ste.lloop.IterableSequence
Creates a new sequence for the given iterable.
IteratorSequence<T> - Class in ste.lloop
A sequence that loops over an iterator and can only go forward.
IteratorSequence(Iterator<T>) - Constructor for class ste.lloop.IteratorSequence
Creates a new sequence for the given iterator.

L

LinesSequence - Class in ste.lloop
A sequence that loops over lines from a File, Path, or BufferedReader.
LinesSequence(BufferedReader) - Constructor for class ste.lloop.LinesSequence
Creates a new sequence for the given BufferedReader.
LinesSequence(File) - Constructor for class ste.lloop.LinesSequence
Creates a new sequence for the given File.
LinesSequence(Path) - Constructor for class ste.lloop.LinesSequence
Creates a new sequence for the given Path.
ListSequence<T> - Class in ste.lloop
A sequence that loops over a list.
ListSequence(List<T>) - Constructor for class ste.lloop.ListSequence
Creates a new sequence for the given list.
loop(BiConsumer<Integer, Character>) - Method in class ste.lloop.CharacterSequence
 
loop(BiConsumer<Integer, String>) - Method in class ste.lloop.LinesSequence
 
loop(BiConsumer<Integer, T>) - Method in class ste.lloop.ArraySequence
 
loop(BiConsumer<Integer, T>) - Method in class ste.lloop.ForwardOnlySequence
Executes the given consumer for each element in the loop.
loop(BiConsumer<Integer, T>) - Method in class ste.lloop.IndexedSequence
Executes the given consumer for each element in the loop.
loop(BiConsumer<Integer, T>) - Method in class ste.lloop.IterableSequence
Executes the given consumer for each element in the loop.
loop(BiConsumer<Integer, T>) - Method in class ste.lloop.IteratorSequence
Executes the given consumer for each element in the loop.
loop(BiConsumer<Integer, T>) - Method in class ste.lloop.ListSequence
 
loop(BiConsumer<K, V>) - Method in class ste.lloop.MapSequence
Executes the given consumer for each element in the loop.
loop(Consumer<Integer>) - Method in class ste.lloop.NumericSequence
Executes the given consumer for each value in the loop.
loop(Consumer<T>) - Method in class ste.lloop.ForwardOnlySequence
Executes the given consumer for each element in the loop.
loop(Consumer<T>) - Method in class ste.lloop.IndexedSequence
Executes the given consumer for each element in the loop.
loop(MapLoopConsumer<K, V>) - Method in class ste.lloop.MapSequence
Executes the given consumer for each element in the loop.
Loop - Class in ste.lloop
Provides a fluent API for creating loops.

M

main(String[]) - Static method in class ste.lloop.comparison.StreamComparison
Main method to run the comparison.
MapLoopConsumer<K,V> - Interface in ste.lloop
A functional interface for consuming items in a map loop.
MapSequence<K,V> - Class in ste.lloop
A sequence that loops over a map.
MapSequence(Map<K, V>) - Constructor for class ste.lloop.MapSequence
Creates a new sequence for the given map.

N

NumericSequence - Class in ste.lloop
A numeric loop that can be configured with a starting and ending value.
NumericSequence() - Constructor for class ste.lloop.NumericSequence
Constructs a new NumericSequence instance.

O

on() - Static method in class ste.lloop.Loop
Creates a new numeric loop.
on(BufferedReader) - Static method in class ste.lloop.Loop
Creates a new loop over the lines of a given BufferedReader.
on(File) - Static method in class ste.lloop.Loop
Creates a new loop over the lines of a given file.
on(CharSequence) - Static method in class ste.lloop.Loop
Creates a new loop over the given CharSequence.
on(Iterable<T>) - Static method in class ste.lloop.Loop
Creates a new loop over the given iterable.
on(Path) - Static method in class ste.lloop.Loop
Creates a new loop over the lines of a given path.
on(Enumeration<T>) - Static method in class ste.lloop.Loop
Creates a new loop over the given Enumeration, converting it to an Iterator using Enumeration.asIterator() internally.
on(Iterator<T>) - Static method in class ste.lloop.Loop
Creates a new loop over the given Iterator.
on(List<T>) - Static method in class ste.lloop.Loop
Creates a new loop over the given list.
on(Map<K, V>) - Static method in class ste.lloop.Loop
Creates a new loop over the given Map.
on(T...) - Static method in class ste.lloop.Loop
Creates a new loop over the given items.

R

ReturnValue - Exception Class in ste.lloop
A holder for a return value that can be used in a lambda expression.
ReturnValue() - Constructor for exception class ste.lloop.ReturnValue
Constructs a new ReturnValue instance with a null value.
ReturnValue(Object) - Constructor for exception class ste.lloop.ReturnValue
Constructs a new ReturnValue instance with the given value.

S

ste.lloop - package ste.lloop
 
ste.lloop.comparison - package ste.lloop.comparison
 
step - Variable in class ste.lloop.NumericSequence
The step of the loop.
step(int) - Method in class ste.lloop.AbstractSequence
Sets the step of the loop.
step(int) - Method in class ste.lloop.ForwardOnlySequence
 
step(int) - Method in class ste.lloop.NumericSequence
Sets the step of the loop.
StreamComparison - Class in ste.lloop.comparison
Compares the performance of λLoop with Java Streams for searching elements in a list.

T

to - Variable in class ste.lloop.NumericSequence
The ending value of the loop (inclusive).
to(int) - Method in class ste.lloop.AbstractSequence
Sets the ending index of the loop (inclusive).
to(int) - Method in class ste.lloop.ForwardOnlySequence
 
to(int) - Method in class ste.lloop.NumericSequence
Sets the ending value of the loop (inclusive).
toString() - Method in exception class ste.lloop.ReturnValue
 

V

value() - Method in exception class ste.lloop.ReturnValue
Returns the stored value, cast to a generic type R.

_

_break_(Object...) - Static method in class ste.lloop.Loop
Same as brk() - which version do you prefer? please let me know, we will remove the less voted one.
A B C F I L M N O R S T V _ 
All Classes and Interfaces|All Packages|Serialized Form