Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractSequence<S> - 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
ReturnValueexception with the given value.
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 over an iterable and can only go forward.
- ForwardOnlySequence(Iterable<T>) - Constructor for class ste.lloop.ForwardOnlySequence
-
Creates a new sequence for the given iterable.
- 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
IndexedSequenceinstance. - indexes - Variable in class ste.lloop.AbstractSequence
-
The numeric series that controls the looping.
L
- 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, 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.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.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
- 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
NumericSequenceinstance.
O
- on() - Static method in class ste.lloop.Loop
-
Creates a new numeric loop.
- on(Iterable<T>) - Static method in class ste.lloop.Loop
-
Creates a new loop over the given iterable.
- on(List<T>) - Static method in class ste.lloop.Loop
-
Creates a new loop over the given list.
- 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
ReturnValueinstance with a null value. - ReturnValue(Object) - Constructor for exception class ste.lloop.ReturnValue
-
Constructs a new
ReturnValueinstance 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
- StreamComparison() - Constructor for class ste.lloop.comparison.StreamComparison
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.
All Classes and Interfaces|All Packages|Serialized Form