Index

A B C D E F G H I J L M N O P Q R S T U V W 
All Classes|All Packages|Serialized Form

A

addSecondaryOrderFunction(ItemFunc<T, Comparable>, SortOrder) - Method in class de.renebergelt.quiterables.iterators.LazyOrderIterable
Adds a secondary ordering function which is used to compare elements for which all previous ordering functions return "equal"
addSecondaryOrderFunction(ItemFunc<T, TComparable>, Comparator<TComparable>, SortOrder) - Method in class de.renebergelt.quiterables.iterators.LazyOrderIterable
Add a secondary ordering function which is used to compare elements for which all previous ordering functions return "equal"
all(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return if all elements in the enumeration fulfill the given predicate
areEqual(T, T) - Method in interface de.renebergelt.quiterables.Equivalence
Return if the two elements are considered equal
array(boolean[]) - Static method in class de.renebergelt.quiterables.Query
Return a Queriable which wraps the given primitive-type boolean-array
array(byte[]) - Static method in class de.renebergelt.quiterables.Query
Return a Queriable which wraps the given primitive-type byte-array
array(char[]) - Static method in class de.renebergelt.quiterables.Query
Return a Queriable which wraps the given primitive-type char-array
array(double[]) - Static method in class de.renebergelt.quiterables.Query
Return a Queriable which wraps the given primitive-type double-array
array(float[]) - Static method in class de.renebergelt.quiterables.Query
Return a Queriable which wraps the given primitive-type float-array
array(int[]) - Static method in class de.renebergelt.quiterables.Query
Return a Queriable which wraps the given primitive-type int-array
array(long[]) - Static method in class de.renebergelt.quiterables.Query
Return a Queriable which wraps the given primitive-type long-array
array(short[]) - Static method in class de.renebergelt.quiterables.Query
Return a Queriable which wraps the given primitive-type short-array
array(T[]) - Static method in class de.renebergelt.quiterables.Query
Return a queriable object for the given array
ArrayIterable<T> - Class in de.renebergelt.quiterables.iterators
Iterable wrapper for arrays Does not work with arrays of primitive types such as int, float, etc.
ArrayIterable(T[]) - Constructor for class de.renebergelt.quiterables.iterators.ArrayIterable
Create a new iterable wrapper for the given array
Ascending - Enum constant in enum class de.renebergelt.quiterables.SortOrder
Ascending sort order (smallest to largest)
average() - Method in interface de.renebergelt.quiterables.Queriable
Return the average from the enumeration (Elements will be cast to java.lang.Number)
average(NumberFunc<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return the average from the enumeration where the value for each item is calculated by the given function

B

booleanArray() - Method in interface de.renebergelt.quiterables.PrimitiveArrayTransformer
Transform to a boolean array
BooleanArrayIterable - Class in de.renebergelt.quiterables.iterators.primitivetypes
An Iterable wrapper for primitive-type boolean-arrays
BooleanArrayIterable(boolean[]) - Constructor for class de.renebergelt.quiterables.iterators.primitivetypes.BooleanArrayIterable
Create a new iterable wrapper for the given array
byteArray() - Method in interface de.renebergelt.quiterables.PrimitiveArrayTransformer
Transform to a byte array
ByteArrayIterable - Class in de.renebergelt.quiterables.iterators.primitivetypes
An Iterable wrapper for primitive-type byte-arrays
ByteArrayIterable(byte[]) - Constructor for class de.renebergelt.quiterables.iterators.primitivetypes.ByteArrayIterable
Create a new iterable wrapper for the given array

C

cast(Class<TOut>) - Method in interface de.renebergelt.quiterables.Queriable
Cast each element of the enumeration to the given type and return an enumeration of this type (This is an unchecked cast, so if any element in the enumeration cannot be cast to the given type an exception will be thrown)
charArray() - Method in interface de.renebergelt.quiterables.PrimitiveArrayTransformer
Transform to a char array
CharArrayIterable - Class in de.renebergelt.quiterables.iterators.primitivetypes
An Iterable wrapper for primitive-type char-arrays
CharArrayIterable(char[]) - Constructor for class de.renebergelt.quiterables.iterators.primitivetypes.CharArrayIterable
Create a new iterable wrapper for the given array
concat(Iterable<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
concat(Iterable<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return an enumeration which contains all elements of the current enumeration and all elements of the enumeration given as argument
contains(T) - Method in interface de.renebergelt.quiterables.Queriable
Returns if this enumeration contains the given element (Equality is checked using Object.equals())
contains(T, Equivalence<T>) - Method in interface de.renebergelt.quiterables.Queriable
Returns if this enumeration contains the given element (Equality is checked using the given Equivalence function)
count() - Method in interface de.renebergelt.quiterables.Queriable
Return the amount of elements in the enumeration if it is finite
count(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return the amount of elements in the (finite) enumeration which satisfy the given predicate This is basically the same as .where(predicate).count()

D

de.renebergelt.quiterables - package de.renebergelt.quiterables
 
de.renebergelt.quiterables.exceptions - package de.renebergelt.quiterables.exceptions
 
de.renebergelt.quiterables.grouping - package de.renebergelt.quiterables.grouping
 
de.renebergelt.quiterables.iterators - package de.renebergelt.quiterables.iterators
 
de.renebergelt.quiterables.iterators.primitivetypes - package de.renebergelt.quiterables.iterators.primitivetypes
 
de.renebergelt.utils - package de.renebergelt.utils
 
defaultIfEmpty(Group<T>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
defaultIfEmpty(T) - Method in interface de.renebergelt.quiterables.Queriable
Returns this enumeration itself if it contains any elements or if it is empty an enumeration only containing the given defaultElement
Descending - Enum constant in enum class de.renebergelt.quiterables.SortOrder
Descending sort order (largest to smallest)
distinct() - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
distinct() - Method in interface de.renebergelt.quiterables.Queriable
Returns an enumeration where each item of the enumeration appears exactly once (Equality is checked using the equals(...) method)
distinct(Equivalence<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
distinct(Equivalence<T>) - Method in interface de.renebergelt.quiterables.Queriable
Returns an enumeration where each item of the enumeration appears exactly once (Equality is checked using the given equalityComparer)
doubleArray() - Method in interface de.renebergelt.quiterables.PrimitiveArrayTransformer
Transform to a double array
DoubleArrayIterable - Class in de.renebergelt.quiterables.iterators.primitivetypes
An Iterable wrapper for primitive-type double-arrays
DoubleArrayIterable(double[]) - Constructor for class de.renebergelt.quiterables.iterators.primitivetypes.DoubleArrayIterable
Create a new iterable wrapper for the given array

E

elementAt(int) - Method in interface de.renebergelt.quiterables.grouping.GroupedList
Return the element at the given position in the list
elementAt(int) - Method in interface de.renebergelt.quiterables.Queriable
Return the element at the given position or throw NoSuchElementException if no element at this index exits (i.e. the enumeration contains less than (index+1) elements)
elementAtOrDefault(int) - Method in interface de.renebergelt.quiterables.Queriable
Return the element at the given position or return null if no element at this index exits (i.e. the enumeration contains less than (index+1) elements)
elementAtOrDefault(int, T) - Method in interface de.renebergelt.quiterables.Queriable
Return the element at the given position or return the given default value if no element at this index exits (i.e. the enumeration contains less than (index+1) elements)
empty() - Static method in class de.renebergelt.quiterables.QuIterables
Returns a Queriable which does not contain any elements
EmptyIterable<T> - Class in de.renebergelt.quiterables.iterators
An iterable implementation which cotnains no elements
ended - Variable in class de.renebergelt.quiterables.iterators.LazyIterator
Indicates if this iterator reached the end
equals(GroupKey) - Method in class de.renebergelt.quiterables.grouping.GroupKey
Compares this group key to the given one for data (!)
equals(Object) - Method in class de.renebergelt.quiterables.grouping.GroupKey
 
Equivalence<T> - Interface in de.renebergelt.quiterables
Interface for functions which compare elements for equality
evaluate(T) - Method in interface de.renebergelt.quiterables.Predicate
Evaluate a condition fo rthe given element
except(Iterable<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
except(Iterable<Group<T>>, Equivalence<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
except(Iterable<T>) - Method in interface de.renebergelt.quiterables.Queriable
Returns an iterable which contains only the elements of this enumeration which do not exist in the given Iterable (Equality is checked using the equals(...) method)
except(Iterable<T>, Equivalence<T>) - Method in interface de.renebergelt.quiterables.Queriable
Returns an iterable which contains only the elements of this enumeration which do not exist in the given Iterable (Equality is checked using the given equalityComparer)
exec(TArg) - Method in interface de.renebergelt.quiterables.ItemFunc
Execute the ItemFunc and return the result
exists(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Test if at least one element of the enumeration fulfills the condition

F

findNextElement() - Method in class de.renebergelt.quiterables.iterators.LazyIterator
Return the next element which satisfies the predicate Return null to indicate that there will be no more objects
first() - Method in class de.renebergelt.quiterables.grouping.GroupKey
Returns the first key part of this GroupKey (use get(...) to receive the other parts) Internally calls get(0)
first() - Method in interface de.renebergelt.quiterables.Queriable
Return the first element of the enumeration or throw NoSuchElementException if the enumeration is empty
first(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return the first element of the enumeration for which the predicate is true or throw NoSuchElementException if no corresponding element exists
firstOrDefault() - Method in interface de.renebergelt.quiterables.Queriable
Return the first element of the enumeration or null if the enumeration is empty
firstOrDefault(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return the first element in the enumeration for which the predicate is true or null if no corresponding element exists
firstOrDefault(Predicate<T>, T) - Method in interface de.renebergelt.quiterables.Queriable
Return the first element in the enumeration for which the predicate is true or the given default value if no corresponding element exists
firstOrDefault(T) - Method in interface de.renebergelt.quiterables.Queriable
Return the first element of the enumeration or the passed defaultValue if the enumeration is empty
floatArray() - Method in interface de.renebergelt.quiterables.PrimitiveArrayTransformer
Transform to a float array
FloatArrayIterable - Class in de.renebergelt.quiterables.iterators.primitivetypes
An Iterable wrapper for primitive-type float-arrays
FloatArrayIterable(float[]) - Constructor for class de.renebergelt.quiterables.iterators.primitivetypes.FloatArrayIterable
Create a new iterable wrapper for the given array

G

get(int) - Method in interface de.renebergelt.quiterables.grouping.GroupedList
GroupedList.get(int) is ambiguous.
get(int) - Method in class de.renebergelt.quiterables.grouping.GroupKey
Returns the key part with the given index
get(GroupKey) - Method in interface de.renebergelt.quiterables.grouping.GroupedList
Return the group with the given group key or null if no such group exists
get(GroupKey) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
Return the elements of the group with the given group keys
get(Object...) - Method in interface de.renebergelt.quiterables.grouping.GroupedList
Return the group with the group key composed of the given elements or null if no such group exists In order to use this function with a single key element of type int, call it like get(new Integer(value))
getInstance() - Static method in class de.renebergelt.quiterables.iterators.EmptyIterable
Return an instance of the EmptyIterable class (Internally always uses the same instance)
getKey() - Method in interface de.renebergelt.quiterables.grouping.Group
Returns this group's group key
getKeyElementFor(T) - Method in interface de.renebergelt.quiterables.grouping.SingleKeyGroupFunction
Return a single object which acts as key for the given element
getKeyFor(T) - Method in interface de.renebergelt.quiterables.grouping.GroupFunction
Return the group key for the given element
getValue(T) - Method in interface de.renebergelt.quiterables.NumberFunc
Get a numerical value for the given item
group(GroupFunction<T>) - Method in interface de.renebergelt.quiterables.Queriable
Groups the elements of the enumeration according to the given grouping function
Group<T> - Interface in de.renebergelt.quiterables.grouping
Represents a list with elements which all share the same group key
GroupedList<T> - Interface in de.renebergelt.quiterables.grouping
A list which has been grouped and therefore contains groups of a given element type
GroupedQueriable<T> - Interface in de.renebergelt.quiterables.grouping
Interface which allows easy chaining of the ListMatcher methods for grouped lists
GroupFunction<T> - Interface in de.renebergelt.quiterables.grouping
Interface for functions which generate a GroupKey from an element
GroupKey - Class in de.renebergelt.quiterables.grouping
Represents a group key (All group key instances with the same elements (value-wise) are considered equal and have the same hashCode
GroupKey(Object...) - Constructor for class de.renebergelt.quiterables.grouping.GroupKey
Create a new group key
groupSingle(SingleKeyGroupFunction<T>) - Method in interface de.renebergelt.quiterables.Queriable
Groups the elements of the enumeration according to the given grouping function (Convenience function for grouping with only one group key element)

H

hashCode() - Method in class de.renebergelt.quiterables.grouping.GroupKey
 
hasNext() - Method in class de.renebergelt.quiterables.iterators.LazyIterator
 

I

intArray() - Method in interface de.renebergelt.quiterables.PrimitiveArrayTransformer
Transform to an int array
IntArrayIterable - Class in de.renebergelt.quiterables.iterators.primitivetypes
An Iterable wrapper for primitive-type int-arrays
IntArrayIterable(int[]) - Constructor for class de.renebergelt.quiterables.iterators.primitivetypes.IntArrayIterable
Create a new iterable wrapper for the given array
intersect(Iterable<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
intersect(Iterable<Group<T>>, Equivalence<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
intersect(Iterable<T>) - Method in interface de.renebergelt.quiterables.Queriable
Returns an iterable which contains the elements of this enumeration which also exist in the given Iterable (Equality is checked using the equals(...) method)
intersect(Iterable<T>, Equivalence<T>) - Method in interface de.renebergelt.quiterables.Queriable
Returns an iterable which contains the elements of this enumeration which also exist in the given Iterable (Equality is checked using the given equalityComparer)
isEmpty() - Method in interface de.renebergelt.quiterables.Queriable
Return if the enumeration is empty
ItemFunc<TArg,​TRet> - Interface in de.renebergelt.quiterables
A function needed for some Queriable methods, where a complex return value per item is required
iterable(Iterable<T>) - Static method in class de.renebergelt.quiterables.Query
Return a queriable object for the given iterable
iterator() - Method in class de.renebergelt.quiterables.iterators.ArrayIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.EmptyIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.LazyConcatIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.LazyDistinctIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.LazyOrderIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.LazySelectIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.LazySelectManyIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.LazySkipIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.LazyTakeIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.LazyWhereIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.ListReverseIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.primitivetypes.BooleanArrayIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.primitivetypes.ByteArrayIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.primitivetypes.CharArrayIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.primitivetypes.DoubleArrayIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.primitivetypes.FloatArrayIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.primitivetypes.IntArrayIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.primitivetypes.LongArrayIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.primitivetypes.ShortArrayIterable
 
iterator() - Method in class de.renebergelt.quiterables.iterators.RangeIterable
 

J

join(Iterable, String) - Static method in class de.renebergelt.utils.StringUtils
Join the elements in the iterable (by using their toString() method) to a string by using the delimiter
a = {"A", "B", "C"}, delimiter = ";"
result: "A;B;C"
join(String[], String) - Static method in class de.renebergelt.utils.StringUtils
Join the given array to a string by using the delimiter
a = {"A", "B", "C"}, delimiter = ";"
result: "A;B;C"

L

last() - Method in interface de.renebergelt.quiterables.Queriable
Return the last element of the enumeration or throw NoSuchElementException if the enumeration is empty
last(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return the last element of the enumeration for which the predicate is true or throw NoSuchElementException if no corresponding element exists
lastOrDefault() - Method in interface de.renebergelt.quiterables.Queriable
Return the last element of the enumeration or null if the list is empty
lastOrDefault(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return the last element in the enumeration for which the predicate is true or null if no corresponding element exists This is basically the same as .where(predicate).lastOrDefault()
lastOrDefault(Predicate<T>, T) - Method in interface de.renebergelt.quiterables.Queriable
Return the last element in the enumeration for which the predicate is true or the given default value if no corresponding element exists This is basically the same as .where(predicate).lastOrDefault()
LazyConcatIterable<T> - Class in de.renebergelt.quiterables.iterators
Iterable which concatenates two other iterables
LazyConcatIterable(Iterable<T>, Iterable<T>) - Constructor for class de.renebergelt.quiterables.iterators.LazyConcatIterable
Create an iterable which concats the two given iterables
LazyDistinctIterable<T> - Class in de.renebergelt.quiterables.iterators
Iterable which returns the elements of a source iterable but filters duplicates either by using the equals() method of the objects or a custom equality comparer
LazyDistinctIterable(Iterable<T>) - Constructor for class de.renebergelt.quiterables.iterators.LazyDistinctIterable
Create a new lazy distinct iterable which wraps the given iterable
LazyDistinctIterable(Iterable<T>, Equivalence<T>) - Constructor for class de.renebergelt.quiterables.iterators.LazyDistinctIterable
Create a new lazy distinct iterable which wraps the given iterable using teh given equality comparer
LazyIterator<T> - Class in de.renebergelt.quiterables.iterators
Base class for the lazy iterators Derived classes only need to implement the findNextElement() function
LazyIterator() - Constructor for class de.renebergelt.quiterables.iterators.LazyIterator
 
LazyOrderIterable<T,​TComparable> - Class in de.renebergelt.quiterables.iterators
AN Iterable which sorts its elements before returning an iterator
LazyOrderIterable(Iterable<T>, ItemFunc<T, Comparable>, SortOrder) - Constructor for class de.renebergelt.quiterables.iterators.LazyOrderIterable
Creates a LazyOrderIterable which uses the default Comparator
LazyOrderIterable(Iterable<T>, ItemFunc<T, TComparable>, Comparator, SortOrder) - Constructor for class de.renebergelt.quiterables.iterators.LazyOrderIterable
Create a new lazy order iterable which wraps the given iterable
LazySelectIterable<TIn,​TOut> - Class in de.renebergelt.quiterables.iterators
Iterable which converts the elements of a source iterable of type TIn to elements of type TOut using a Selector function
LazySelectIterable(Iterable<TIn>, Selector<TIn, TOut>) - Constructor for class de.renebergelt.quiterables.iterators.LazySelectIterable
Create a new lazy select iterable which wraps the given iterable
LazySelectManyIterable<TIn,​TOut> - Class in de.renebergelt.quiterables.iterators
Iterable which converts the elements of a source iterable of type TIn to an Iterable of type TOut using a Selector function and flattens the result enumeration
LazySelectManyIterable(Iterable<TIn>, Selector<TIn, Iterable<TOut>>) - Constructor for class de.renebergelt.quiterables.iterators.LazySelectManyIterable
Create a new lazy select many iterable which wraps the given iterable
LazySkipIterable<T> - Class in de.renebergelt.quiterables.iterators
Iterable which skips a certain amount of elements or skips as long as all elements match a predicate
LazySkipIterable(Iterable<T>, int) - Constructor for class de.renebergelt.quiterables.iterators.LazySkipIterable
Create a new lazy skip iterable which wraps the given iterable
LazySkipIterable(Iterable<T>, Predicate<T>) - Constructor for class de.renebergelt.quiterables.iterators.LazySkipIterable
Create a new lazy skip iterable which wraps the given iterable
LazyTakeIterable<T> - Class in de.renebergelt.quiterables.iterators
Iterable which takes a certain amount of elements or takes as long as all elements match a predicate
LazyTakeIterable(Iterable<T>, int) - Constructor for class de.renebergelt.quiterables.iterators.LazyTakeIterable
Create a new lazy take iterable which wraps the given iterable
LazyTakeIterable(Iterable<T>, Predicate<T>) - Constructor for class de.renebergelt.quiterables.iterators.LazyTakeIterable
Create a new lazy take iterable which wraps the given iterable
LazyWhereIterable<T> - Class in de.renebergelt.quiterables.iterators
Iterable which returns elements matching a predicate using lazy evaluation
LazyWhereIterable(Iterable<T>, Predicate<T>) - Constructor for class de.renebergelt.quiterables.iterators.LazyWhereIterable
Create a new lazy where iterable which wraps the given iterable
list(List<T>) - Static method in class de.renebergelt.quiterables.Query
Return a queriable object for the given list
ListReverseIterable<T> - Class in de.renebergelt.quiterables.iterators
Iterable which iterates a list in reverse
ListReverseIterable(List<T>) - Constructor for class de.renebergelt.quiterables.iterators.ListReverseIterable
Create a new reverse iterable which wraps the given list
longArray() - Method in interface de.renebergelt.quiterables.PrimitiveArrayTransformer
Transform to a long array
LongArrayIterable - Class in de.renebergelt.quiterables.iterators.primitivetypes
An Iterable wrapper for primitive-type long-arrays
LongArrayIterable(long[]) - Constructor for class de.renebergelt.quiterables.iterators.primitivetypes.LongArrayIterable
Create a new iterable wrapper for the given array

M

max() - Method in interface de.renebergelt.quiterables.Queriable
Returns the maximum element of the enumeration (Elements have to implement Comparable)
max(NumberFunc<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return the maximum from the enumeration where the value for each item is calculated by the given function
min() - Method in interface de.renebergelt.quiterables.Queriable
Returns the minimum element of the enumeration (Elements have to implement Comparable)
min(NumberFunc<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return the minimum from the enumeration where the value for each item is calculated by the given function*

N

next() - Method in class de.renebergelt.quiterables.iterators.LazyIterator
 
nextElement - Variable in class de.renebergelt.quiterables.iterators.LazyIterator
The cached next element (if any)
NoSuchElementException - Exception in de.renebergelt.quiterables.exceptions
Thrown, when a certain operation should return an Element but none is there
NoSuchElementException() - Constructor for exception de.renebergelt.quiterables.exceptions.NoSuchElementException
 
NumberFunc<T> - Interface in de.renebergelt.quiterables
Interface used by the methods of Queriable which require an ItemFunc with a fixed result type of Number

O

ofType(Class<TOut>) - Method in interface de.renebergelt.quiterables.Queriable
Return the elements of the enumeration which are of the requested type or can be cast to it
orderBy(ItemFunc<Group<T>, Comparable>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
orderBy(ItemFunc<Group<T>, TComparable>, Comparator<TComparable>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
orderBy(ItemFunc<T, Comparable>) - Method in interface de.renebergelt.quiterables.Queriable
Order the elements of this enumeration according to the values returned by the order function
orderBy(ItemFunc<T, TComparable>, Comparator<TComparable>) - Method in interface de.renebergelt.quiterables.Queriable
Order the elements of this enumeration according to the values returned by the value function function using the given comparator
orderByDescending(ItemFunc<Group<T>, Comparable>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
orderByDescending(ItemFunc<Group<T>, TComparable>, Comparator<TComparable>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
orderByDescending(ItemFunc<T, Comparable>) - Method in interface de.renebergelt.quiterables.Queriable
Order the elements of this enumeration according the values returned by the order function in descending order
orderByDescending(ItemFunc<T, TComparable>, Comparator<TComparable>) - Method in interface de.renebergelt.quiterables.Queriable
Order the elements of this enumeration according to the values returned by the value function function using the given comparator in descending order
OrderedGroupedQueriable<T> - Interface in de.renebergelt.quiterables
Represents a grouped Queriable which has been ordered
OrderedQueriable<T> - Interface in de.renebergelt.quiterables
Represents a Queriable which has been ordered

P

partCount() - Method in class de.renebergelt.quiterables.grouping.GroupKey
Return the number of key parts this group key consists of
Predicate<T> - Interface in de.renebergelt.quiterables
A predicate function needed for some Queriable methods
PrimitiveArrayTransformer<T> - Interface in de.renebergelt.quiterables
Helper class to convert an Iterable to primitive arrays

Q

Queriable<T> - Interface in de.renebergelt.quiterables
An Iterable which can be queried
query(boolean[]) - Static method in class de.renebergelt.quiterables.QuIterables
Return a Queriable which wraps the given primitive-type boolean-array
query(byte[]) - Static method in class de.renebergelt.quiterables.QuIterables
Return a Queriable which wraps the given primitive-type byte-array
query(char[]) - Static method in class de.renebergelt.quiterables.QuIterables
Return a Queriable which wraps the given primitive-type char-array
query(double[]) - Static method in class de.renebergelt.quiterables.QuIterables
Return a Queriable which wraps the given primitive-type double-array
query(float[]) - Static method in class de.renebergelt.quiterables.QuIterables
Return a Queriable which wraps the given primitive-type float-array
query(int[]) - Static method in class de.renebergelt.quiterables.QuIterables
Return a Queriable which wraps the given primitive-type int-array
query(long[]) - Static method in class de.renebergelt.quiterables.QuIterables
Return a Queriable which wraps the given primitive-type long-array
query(short[]) - Static method in class de.renebergelt.quiterables.QuIterables
Return a Queriable which wraps the given primitive-type short-array
query(GroupedList<T>) - Static method in class de.renebergelt.quiterables.QuIterables
Return a grouped queriable for the given grouped list
query(Iterable<T>) - Static method in class de.renebergelt.quiterables.QuIterables
Return a queriable object for the given iterable
query(T[]) - Static method in class de.renebergelt.quiterables.QuIterables
Return a queriable object for the given array
Query - Class in de.renebergelt.quiterables
Main class of the QuIterables library Mimics some of C#'s generic LINQ convenience methods for Java 8 and below
Use anonymous methods for the predicates.
QuIterables - Class in de.renebergelt.quiterables
Convenience class of the QuIterables library for static importing the query(..) method

R

range(int, int) - Static method in class de.renebergelt.quiterables.QuIterables
Returns a Queriable which contains the numbers starting at start until end (inclusive, i.e.
RangeIterable - Class in de.renebergelt.quiterables.iterators
An Iterable implementation which returns a range of integer numbers
RangeIterable(int, int) - Constructor for class de.renebergelt.quiterables.iterators.RangeIterable
Creates an instance of the RangeIterable which contains the numbers starting at start until end (inclusive, i.e.
remove() - Method in class de.renebergelt.quiterables.iterators.LazyIterator
 
reverse() - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
reverse() - Method in interface de.renebergelt.quiterables.Queriable
Reverse the order of elements of this enumeration

S

select(Selector<T, TOut>) - Method in interface de.renebergelt.quiterables.Queriable
Transforms each element of the enumeration using a selector
select(TIn) - Method in interface de.renebergelt.quiterables.Selector
Transforms item to the given output type
selectMany(Selector<T, Iterable<TOut>>) - Method in interface de.renebergelt.quiterables.Queriable
Transform each element of the enumeration into another enumeration and combine all results to a single list
Selector<TIn,​TOut> - Interface in de.renebergelt.quiterables
A function which transforms one object type into another
sequenceEquals(Iterable<T>) - Method in interface de.renebergelt.quiterables.Queriable
Checks whether this enumeration and the given iterable contain the same elements and the same position and have the same length (Equality is checked using Object.equals())
sequenceEquals(Iterable<T>, Equivalence<T>) - Method in interface de.renebergelt.quiterables.Queriable
Checks whether this enumeration and the given iterable contain the same elements and the same position and have the same length (Equality is checked using the given custom Equivalence comparer)
shortArray() - Method in interface de.renebergelt.quiterables.PrimitiveArrayTransformer
Transform to a short array
ShortArrayIterable - Class in de.renebergelt.quiterables.iterators.primitivetypes
An Iterable wrapper for primitive-type short-arrays
ShortArrayIterable(short[]) - Constructor for class de.renebergelt.quiterables.iterators.primitivetypes.ShortArrayIterable
Create a new iterable wrapper for the given array
single() - Method in interface de.renebergelt.quiterables.Queriable
If the iterable contains only one element return this element.
single(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
If the iterable contains only one element which satisfies the condition return this element.
SingleKeyGroupFunction<T> - Interface in de.renebergelt.quiterables.grouping
Interface for functions which generate a GroupKey with only one component from an element
singleOrDefault() - Method in interface de.renebergelt.quiterables.Queriable
If the iterable contains only one element return this element.
singleOrDefault(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
If the iterable contains only one element which satisfies the condition return this element.
skip(int) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
skip(int) - Method in interface de.renebergelt.quiterables.Queriable
Skip the given amount of elements in the list and return a Queriable which starts at the (amount+1)th element or is empty if the enumeration did not contain more than amount elements
skipWhile(Predicate<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
skipWhile(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return a queriable which starts at the first element of the enumeration which does not satisfy the condition, if no such element exists the returned Queriable is empty
SortOrder - Enum Class in de.renebergelt.quiterables
Values two specifiy a sort order
StringUtils - Class in de.renebergelt.utils
Utility functions for strings
sum() - Method in interface de.renebergelt.quiterables.Queriable
Return the sum from the enumeration where the value for each item (Elements will be cast to java.lang.Number)
sum(NumberFunc<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return the sum from the enumeration where the value for each item is calculated by the given function

T

take(int) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
take(int) - Method in interface de.renebergelt.quiterables.Queriable
Take the given amount of elements from the enumeration or take elements until the enumeration ends
takeWhile(Predicate<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
takeWhile(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Take elements from the enumeration as long as they satisfy the condition or until the enumeration ends
thenBy(ItemFunc<Group<T>, Comparable>) - Method in interface de.renebergelt.quiterables.OrderedGroupedQueriable
 
thenBy(ItemFunc<Group<T>, TComparable>, Comparator<TComparable>) - Method in interface de.renebergelt.quiterables.OrderedGroupedQueriable
 
thenBy(ItemFunc<T, Comparable>) - Method in interface de.renebergelt.quiterables.OrderedQueriable
Define a secondary ordering criterion
thenBy(ItemFunc<T, TComparable>, Comparator<TComparable>) - Method in interface de.renebergelt.quiterables.OrderedQueriable
Define a secondary ordering criterion using the given Comparator
thenByDescending(ItemFunc<Group<T>, Comparable>) - Method in interface de.renebergelt.quiterables.OrderedGroupedQueriable
 
thenByDescending(ItemFunc<Group<T>, TComparable>, Comparator<TComparable>) - Method in interface de.renebergelt.quiterables.OrderedGroupedQueriable
 
thenByDescending(ItemFunc<T, Comparable>) - Method in interface de.renebergelt.quiterables.OrderedQueriable
Define a secondary ordering criterion (descending)
thenByDescending(ItemFunc<T, TComparable>, Comparator<TComparable>) - Method in interface de.renebergelt.quiterables.OrderedQueriable
Define a secondary ordering criterion using the given Comparator (descending)
toArray(Class<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return an array which contains all elements of this enumeration (This will evaluate the whole enumeration, if it is infinite this will block forever.)
toList() - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
Convert this grouped queriable to a grouped list
toList() - Method in interface de.renebergelt.quiterables.Queriable
Return a list which contains all elements of this enumeration (This will evaluate the whole enumeration, if it is infinite this will block forever.)
toMap() - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
Convert this grouped queriable to a map where the keys are the groupkeys and the value is a iterable containing the group's items
toMap(Function<T, TKey>) - Method in interface de.renebergelt.quiterables.Queriable
Constructs a map from the elements of this Queriable where each element is assigned a key
toMap(Function<T, TKey>, Function<T, TValue>) - Method in interface de.renebergelt.quiterables.Queriable
COnstructs a map from the elements of this Queriable
toPrimitiveArray() - Method in interface de.renebergelt.quiterables.Queriable
Return an object which allows to transform this Iterable to a primitive-type array
toSet() - Method in interface de.renebergelt.quiterables.Queriable
Return a list which contains all elements of this enumeration but no duplicates Returns a set which contains the elements which are also returned by distinct()

U

union(Iterable<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
union(Iterable<Group<T>>, Equivalence<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
union(Iterable<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return an enumeration which contains all elements of the current enumeration and all elements of the enumeration given as argument without duplicates (Equality is checked using the equals(...) method)
union(Iterable<T>, Equivalence<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return an enumeration which contains all elements of the current enumeration and all elements of the enumeration given as argument without duplicates (Equality is checked using the given equalityComparer)

V

valueOf(String) - Static method in enum class de.renebergelt.quiterables.SortOrder
Returns the enum constant of this class with the specified name.
values() - Static method in enum class de.renebergelt.quiterables.SortOrder
Returns an array containing the constants of this enum class, in the order they are declared.

W

where(Predicate<Group<T>>) - Method in interface de.renebergelt.quiterables.grouping.GroupedQueriable
 
where(Predicate<T>) - Method in interface de.renebergelt.quiterables.Queriable
Return all elements from the enumeration for which the predicate holds true or return an empty list if no such elements exist
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes|All Packages|Serialized Form