T |
AbstractCollectionWrapper.any(ExpressionEvaluator evaluator) |
|
static <T> T |
AbstractCollectionWrapper.any(Collection<T> collection,
ExpressionEvaluator evaluator) |
Returns the first match from collection.
|
T |
Collection.any(ExpressionEvaluator evaluator) |
Returns any element complying with the evaluator.
|
T |
UnmodifiableSequence.any(ExpressionEvaluator evaluator) |
|
T |
UnmodifiableSet.any(ExpressionEvaluator evaluator) |
|
static <T> java.lang.Object |
AbstractCollectionWrapper.apply(Collection<T> collection,
ExpressionEvaluator evaluator) |
Processes elements in this set by applying to given expression.
|
java.lang.Object |
ArraySequence.apply(ExpressionEvaluator evaluator) |
|
java.lang.Object |
ArraySet.apply(ExpressionEvaluator evaluator) |
|
java.lang.Object |
Collection.apply(ExpressionEvaluator evaluator) |
Processes elements in this set by applying to given expression.
|
java.lang.Object |
ListSequence.apply(ExpressionEvaluator evaluator) |
|
java.lang.Object |
ListSet.apply(ExpressionEvaluator evaluator) |
|
java.lang.Object |
SetSet.apply(ExpressionEvaluator evaluator) |
|
java.lang.Object |
UnmodifiableSequence.apply(ExpressionEvaluator evaluator) |
|
java.lang.Object |
UnmodifiableSet.apply(ExpressionEvaluator evaluator) |
|
private static boolean |
AbstractCollectionWrapper.assertBooleanIterator(ExpressionEvaluator evaluator) |
Asserts an iterator of boolean type.
|
static java.util.Set<java.lang.Object> |
AbstractCollectionWrapper.closure(Collection<?> collection,
ExpressionEvaluator evaluator) |
Calculates the closure over collection and evaluator.
|
Set<?> |
ArraySequence.closure(ExpressionEvaluator evaluator) |
|
Set<?> |
ArraySet.closure(ExpressionEvaluator evaluator) |
|
Collection<?> |
Collection.closure(ExpressionEvaluator evaluator) |
Calculates a transitive closure over elements provided by this collection and evaluator.
|
Set<?> |
ListSequence.closure(ExpressionEvaluator evaluator) |
|
Set<?> |
ListSet.closure(ExpressionEvaluator evaluator) |
|
Set<?> |
Sequence.closure(ExpressionEvaluator evaluator) |
|
Set<?> |
Set.closure(ExpressionEvaluator evaluator) |
|
Set<?> |
SetSet.closure(ExpressionEvaluator evaluator) |
|
Set<?> |
UnmodifiableSequence.closure(ExpressionEvaluator evaluator) |
|
Set<?> |
UnmodifiableSet.closure(ExpressionEvaluator evaluator) |
|
private static boolean |
AbstractCollectionWrapper.closureOnElement(java.lang.Object value,
java.util.Set<java.lang.Object> result,
ExpressionEvaluator evaluator,
boolean stopOnCycle) |
Calculates the closure for value using evaluator and does not visit already
visited elements in result again.
|
private static void |
AbstractCollectionWrapper.collect(java.lang.Object value,
ExpressionEvaluator evaluator,
java.util.Collection<java.lang.Object> result,
boolean flatten) |
Performs a (non-)flattening collect operation on value.
|
static java.util.List<java.lang.Object> |
AbstractCollectionWrapper.collect(Collection<?> collection,
ExpressionEvaluator evaluator,
boolean flatten) |
Collects the application of evaluator to collection.
|
protected static void |
AbstractCollectionWrapper.collect(Collection<?> collection,
ExpressionEvaluator evaluator,
java.util.Collection<java.lang.Object> result,
boolean flatten) |
Collects the application of evaluator to collection.
|
Sequence<?> |
ArraySequence.collect(ExpressionEvaluator evaluator) |
|
Set<?> |
ArraySet.collect(ExpressionEvaluator evaluator) |
|
Collection<?> |
Collection.collect(ExpressionEvaluator evaluator) |
Collects the application of evaluator to each individual element and flattens nested structures.
|
Sequence<?> |
ListSequence.collect(ExpressionEvaluator evaluator) |
|
Set<?> |
ListSet.collect(ExpressionEvaluator evaluator) |
|
Sequence<?> |
Sequence.collect(ExpressionEvaluator evaluator) |
|
Set<?> |
Set.collect(ExpressionEvaluator evaluator) |
|
Set<?> |
SetSet.collect(ExpressionEvaluator evaluator) |
|
Sequence<?> |
UnmodifiableSequence.collect(ExpressionEvaluator evaluator) |
|
Set<?> |
UnmodifiableSet.collect(ExpressionEvaluator evaluator) |
|
Sequence<?> |
ArraySequence.collectNested(ExpressionEvaluator evaluator) |
|
Set<?> |
ArraySet.collectNested(ExpressionEvaluator evaluator) |
|
Collection<?> |
Collection.collectNested(ExpressionEvaluator evaluator) |
Collects the application of evaluator to each individual element and keeps nested structures.
|
Sequence<?> |
ListSequence.collectNested(ExpressionEvaluator evaluator) |
|
Set<?> |
ListSet.collectNested(ExpressionEvaluator evaluator) |
|
Sequence<?> |
Sequence.collectNested(ExpressionEvaluator evaluator) |
|
Set<?> |
Set.collectNested(ExpressionEvaluator evaluator) |
|
Set<?> |
SetSet.collectNested(ExpressionEvaluator evaluator) |
|
Sequence<?> |
UnmodifiableSequence.collectNested(ExpressionEvaluator evaluator) |
|
Set<?> |
UnmodifiableSet.collectNested(ExpressionEvaluator evaluator) |
|
java.lang.Boolean |
AbstractCollectionWrapper.exists(ExpressionEvaluator evaluator) |
Returns whether there exists on element in the collection for which the evaluator
returns true.
|
static <T> java.lang.Boolean |
AbstractCollectionWrapper.exists(Collection<T> collection,
ExpressionEvaluator evaluator) |
Returns whether there is an element matching the evaluator.
|
java.lang.Boolean |
Collection.exists(ExpressionEvaluator evaluator) |
Returns whether there exists on element in the collection for which the evaluator
returns true.
|
java.lang.Boolean |
UnmodifiableSequence.exists(ExpressionEvaluator evaluator) |
|
java.lang.Boolean |
UnmodifiableSet.exists(ExpressionEvaluator evaluator) |
|
java.lang.Boolean |
AbstractCollectionWrapper.forAll(ExpressionEvaluator evaluator) |
Returns whether all elements in the collection for which the evaluator
returns true.
|
static <T> java.lang.Boolean |
AbstractCollectionWrapper.forAll(Collection<T> collection,
ExpressionEvaluator evaluator) |
Returns whether there is an element matching the evaluator.
|
java.lang.Boolean |
Collection.forAll(ExpressionEvaluator evaluator) |
Returns whether all elements in the collection for which the evaluator
returns true.
|
java.lang.Boolean |
UnmodifiableSequence.forAll(ExpressionEvaluator evaluator) |
|
java.lang.Boolean |
UnmodifiableSet.forAll(ExpressionEvaluator evaluator) |
|
boolean |
AbstractCollectionWrapper.isAcyclic(ExpressionEvaluator evaluator) |
Returns whether the closure over this collection and evaluator is acyclic.
|
static boolean |
AbstractCollectionWrapper.isAcyclic(Collection<?> collection,
ExpressionEvaluator evaluator) |
Returns whether the closure over collection and evaluator is acyclic.
|
boolean |
Collection.isAcyclic(ExpressionEvaluator evaluator) |
Returns whether the transitive closure over elements provided by this collection and evaluator
does not contain a cycle.
|
boolean |
UnmodifiableSequence.isAcyclic(ExpressionEvaluator evaluator) |
|
boolean |
UnmodifiableSet.isAcyclic(ExpressionEvaluator evaluator) |
|
java.lang.Boolean |
AbstractCollectionWrapper.isUnique(ExpressionEvaluator evaluator) |
Returns whether the evaluator returns a different result for all elements in the collection.
|
static <T> java.lang.Boolean |
AbstractCollectionWrapper.isUnique(Collection<T> collection,
ExpressionEvaluator evaluator) |
Returns whether there is an element matching the evaluator.
|
java.lang.Boolean |
Collection.isUnique(ExpressionEvaluator evaluator) |
Returns whether the evaluator returns a different result for all elements in the collection.
|
java.lang.Boolean |
UnmodifiableSequence.isUnique(ExpressionEvaluator evaluator) |
|
java.lang.Boolean |
UnmodifiableSet.isUnique(ExpressionEvaluator evaluator) |
|
T |
AbstractCollectionWrapper.one(ExpressionEvaluator evaluator) |
|
static <T> T |
AbstractCollectionWrapper.one(Collection<T> collection,
ExpressionEvaluator evaluator) |
Returns the first match from collection if there can be only one match.
|
T |
Collection.one(ExpressionEvaluator evaluator) |
Returns the element complying with the evaluator if there is exactly one.
|
T |
UnmodifiableSequence.one(ExpressionEvaluator evaluator) |
|
T |
UnmodifiableSet.one(ExpressionEvaluator evaluator) |
|
Sequence<T> |
ArraySequence.reject(ExpressionEvaluator evaluator) |
|
Set<T> |
ArraySet.reject(ExpressionEvaluator evaluator) |
|
Collection<T> |
Collection.reject(ExpressionEvaluator evaluator) |
Rejects elements in this collection according to the given expression.
|
Sequence<T> |
ListSequence.reject(ExpressionEvaluator evaluator) |
|
Set<T> |
ListSet.reject(ExpressionEvaluator evaluator) |
|
Sequence<T> |
Sequence.reject(ExpressionEvaluator evaluator) |
|
Set<T> |
Set.reject(ExpressionEvaluator evaluator) |
|
Set<T> |
SetSet.reject(ExpressionEvaluator evaluator) |
|
Sequence<T> |
UnmodifiableSequence.reject(ExpressionEvaluator evaluator) |
|
Set<T> |
UnmodifiableSet.reject(ExpressionEvaluator evaluator) |
|
static <T> java.util.List<T> |
AbstractCollectionWrapper.select(Collection<T> collection,
ExpressionEvaluator evaluator,
boolean select) |
Selects those elements from collection which comply to the result of evaluator.
|
protected static <T> T |
AbstractCollectionWrapper.select(Collection<T> collection,
ExpressionEvaluator evaluator,
java.util.Collection<T> result,
boolean select) |
Selects those elements from collection which comply to the result of evaluator.
|
Sequence<T> |
ArraySequence.select(ExpressionEvaluator evaluator) |
|
Set<T> |
ArraySet.select(ExpressionEvaluator evaluator) |
|
Collection<T> |
Collection.select(ExpressionEvaluator evaluator) |
Selects elements in this collection according to the given expression.
|
Sequence<T> |
ListSequence.select(ExpressionEvaluator evaluator) |
|
Set<T> |
ListSet.select(ExpressionEvaluator evaluator) |
|
Sequence<T> |
Sequence.select(ExpressionEvaluator evaluator) |
|
Set<T> |
Set.select(ExpressionEvaluator evaluator) |
|
Set<T> |
SetSet.select(ExpressionEvaluator evaluator) |
|
Sequence<T> |
UnmodifiableSequence.select(ExpressionEvaluator evaluator) |
|
Set<T> |
UnmodifiableSet.select(ExpressionEvaluator evaluator) |
|
Sequence<V> |
Map.sortByKeys(ExpressionEvaluator evaluator) |
Sorts values in this map according to keys.
|
Sequence<T> |
ArraySequence.sortedBy(ExpressionEvaluator evaluator) |
|
Collection<T> |
ArraySet.sortedBy(ExpressionEvaluator evaluator) |
|
Collection<T> |
Collection.sortedBy(ExpressionEvaluator evaluator) |
Sorts the elements in this collection according to the given expression in ascending order.
|
Sequence<T> |
ListSequence.sortedBy(ExpressionEvaluator evaluator) |
|
Collection<T> |
ListSet.sortedBy(ExpressionEvaluator evaluator) |
|
Sequence<T> |
Sequence.sortedBy(ExpressionEvaluator evaluator) |
Sorts the elements in this sequence according to the given expression in ascending order.
|
Collection<T> |
SetSet.sortedBy(ExpressionEvaluator evaluator) |
|
Sequence<T> |
UnmodifiableSequence.sortedBy(ExpressionEvaluator evaluator) |
|
Collection<T> |
UnmodifiableSet.sortedBy(ExpressionEvaluator evaluator) |
|
static <T> java.util.List<T> |
AbstractCollectionWrapper.sortImpl(java.util.Iterator<T> iter,
ExpressionEvaluator evaluator) |
Sorts the elements in iter (take numbers if the evaluator returns numbers,
else lexicographic sort).
|
protected java.util.List<T> |
AbstractCollectionWrapper.sortImpl(ExpressionEvaluator evaluator) |
Implements the more generic sort function (take numbers if the evaluator returns numbers,
else lexicographic sort).
|