Uses of Interface
de.renebergelt.quiterables.Queriable
Packages that use Queriable
-
Uses of Queriable in de.renebergelt.quiterables
Subinterfaces of Queriable in de.renebergelt.quiterablesModifier and TypeInterfaceDescriptioninterfaceRepresents a grouped Queriable which has been orderedinterfaceRepresents a Queriable which has been orderedMethods in de.renebergelt.quiterables that return QueriableModifier and TypeMethodDescriptionQuery.array(boolean[] array)Return a Queriable which wraps the given primitive-type boolean-arrayQuery.array(byte[] array)Return a Queriable which wraps the given primitive-type byte-arrayQuery.array(char[] array)Return a Queriable which wraps the given primitive-type char-arrayQuery.array(double[] array)Return a Queriable which wraps the given primitive-type double-arrayQuery.array(float[] array)Return a Queriable which wraps the given primitive-type float-arrayQuery.array(int[] array)Return a Queriable which wraps the given primitive-type int-arrayQuery.array(long[] array)Return a Queriable which wraps the given primitive-type long-arrayQuery.array(short[] array)Return a Queriable which wraps the given primitive-type short-arraystatic <T> Queriable<T>Query.array(T[] array)Return a queriable object for the given array<TOut> Queriable<TOut>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)Return an enumeration which contains all elements of the current enumeration and all elements of the enumeration given as argumentQueriable.defaultIfEmpty(T defaultValue)Returns this enumeration itself if it contains any elements or if it is empty an enumeration only containing the given defaultElementQueriable.distinct()Returns an enumeration where each item of the enumeration appears exactly once (Equality is checked using the equals(...) method)Queriable.distinct(Equivalence<T> equalityComparer)Returns an enumeration where each item of the enumeration appears exactly once (Equality is checked using the given equalityComparer)static <T> Queriable<T>QuIterables.empty()Returns a Queriable which does not contain any elementsReturns 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)Queriable.except(Iterable<T> elementsToSubtract, Equivalence<T> equalityComparer)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)Returns an iterable which contains the elements of this enumeration which also exist in the given Iterable (Equality is checked using the equals(...) method)Queriable.intersect(Iterable<T> intersectWith, Equivalence<T> equalityComparer)Returns an iterable which contains the elements of this enumeration which also exist in the given Iterable (Equality is checked using the given equalityComparer)static <T> Queriable<T>Return a queriable object for the given iterablestatic <T> Queriable<T>Return a queriable object for the given list<TOut> Queriable<TOut>Return the elements of the enumeration which are of the requested type or can be cast to itQuIterables.query(boolean[] array)Return a Queriable which wraps the given primitive-type boolean-arrayQuIterables.query(byte[] array)Return a Queriable which wraps the given primitive-type byte-arrayQuIterables.query(char[] array)Return a Queriable which wraps the given primitive-type char-arrayQuIterables.query(double[] array)Return a Queriable which wraps the given primitive-type double-arrayQuIterables.query(float[] array)Return a Queriable which wraps the given primitive-type float-arrayQuIterables.query(int[] array)Return a Queriable which wraps the given primitive-type int-arrayQuIterables.query(long[] array)Return a Queriable which wraps the given primitive-type long-arrayQuIterables.query(short[] array)Return a Queriable which wraps the given primitive-type short-arraystatic <T> Queriable<T>Return a queriable object for the given iterablestatic <T> Queriable<T>QuIterables.query(T[] array)Return a queriable object for the given arrayQuIterables.range(int start, int end)Returns a Queriable which contains the numbers starting at start until end (inclusive, i.e.Queriable.reverse()Reverse the order of elements of this enumeration<TOut> Queriable<TOut>Transforms each element of the enumeration using a selector<TOut> Queriable<TOut>Queriable.selectMany(Selector<T,Iterable<TOut>> selector)Transform each element of the enumeration into another enumeration and combine all results to a single listQueriable.skip(int amount)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 elementsReturn 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 emptyQueriable.take(int amount)Take the given amount of elements from the enumeration or take elements until the enumeration endsTake elements from the enumeration as long as they satisfy the condition or until the enumeration endsReturn 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)Queriable.union(Iterable<T> toUnite, Equivalence<T> equalityComparer)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)Return all elements from the enumeration for which the predicate holds true or return an empty list if no such elements exist -
Uses of Queriable in de.renebergelt.quiterables.grouping
Subinterfaces of Queriable in de.renebergelt.quiterables.groupingModifier and TypeInterfaceDescriptioninterfaceInterface which allows easy chaining of the ListMatcher methods for grouped listsMethods in de.renebergelt.quiterables.grouping that return Queriable