- find(Collection<T>, Predicate<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Finds the first value matching the predicate, or returns null.
- find(Map<K, V>, BiPredicate<K, V>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Finds the first entry matching the predicate, or returns null.
- findAll(Collection<T>, Predicate<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Finds all values matching the predicate, returns as a list
- findAll(Map<K, V>, BiPredicate<K, V>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Finds all values matching the predicate, returns as a map.
- findResult(Collection<T>, Function<T, U>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Iterates through the collection calling the given function for each item
but stopping once the first non-null result is found and returning that result.
- findResult(Collection<T>, Object, Function<T, U>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Iterates through the collection calling the given function for each item
but stopping once the first non-null result is found and returning that result.
- findResult(Map<K, V>, BiFunction<K, V, T>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Iterates through the map calling the given function for each item
but stopping once the first non-null result is found and returning that result.
- findResult(Map<K, V>, Object, BiFunction<K, V, T>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Iterates through the map calling the given function for each item
but stopping once the first non-null result is found and returning that result.
- findResults(Iterable<T>, Function<T, U>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Iterates through the Iterable transforming items using the supplied function and
collecting any non-null results.
- findResults(Map<K, V>, BiFunction<K, V, T>) - Static method in class org.elasticsearch.painless.api.Augmentation
-
Iterates through the map transforming items using the supplied function and
collecting any non-null results.