Uses of Class
org.eclipse.collections.impl.block.factory.Predicates
Package
Description
This package contains factory implementations for
Function
, Predicate
, SerializableComparator
and Procedure
.-
Uses of Predicates in org.eclipse.collections.impl.block.factory
Modifier and TypeClassDescriptionstatic class
static class
static class
Modifier and TypeMethodDescriptionstatic <T> Predicates<T>
static <T> Predicates<Iterable<T>>
Predicates.allSatisfy
(Predicate<? super T> predicate) static Predicates<Object>
Predicates.alwaysFalse()
static Predicates<Object>
Predicates.alwaysTrue()
static <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicates<Iterable<T>>
Predicates.anySatisfy
(Predicate<? super T> predicate) static Predicates<Object>
Predicates.assignableFrom
(Class<?> clazz) static <T,
V> Predicates<T> Predicates.attributeAllSatisfy
(Function<? super T, ? extends Iterable<V>> function, Predicate<? super V> predicate) static <T,
V> Predicates<T> Predicates.attributeAnySatisfy
(Function<? super T, ? extends Iterable<V>> function, Predicate<? super V> predicate) static <T,
V extends Comparable<? super V>>
Predicates<T>Predicates.attributeBetweenExclusive
(Function<? super T, ? extends V> function, V from, V to) static <T,
V extends Comparable<? super V>>
Predicates<T>Predicates.attributeBetweenInclusive
(Function<? super T, ? extends V> function, V from, V to) static <T,
V extends Comparable<? super V>>
Predicates<T>Predicates.attributeBetweenInclusiveFrom
(Function<? super T, ? extends V> function, V from, V to) static <T,
V extends Comparable<? super V>>
Predicates<T>Predicates.attributeBetweenInclusiveTo
(Function<? super T, ? extends V> function, V from, V to) static <T> Predicates<T>
Predicates.attributeEqual
(Function<? super T, ?> function, Object object) static <T,
V extends Comparable<? super V>>
Predicates<T>Predicates.attributeGreaterThan
(Function<? super T, ? extends V> function, V object) static <T,
V extends Comparable<? super V>>
Predicates<T>Predicates.attributeGreaterThanOrEqualTo
(Function<? super T, ? extends V> function, V object) static <T> Predicates<T>
Predicates.attributeIn
(Function<? super T, ?> function, Iterable<?> iterable) Creates a predicate which returns true if an attribute selected from an object passed to accept method is contained in the iterable.static <T> Predicates<T>
IntegerPredicates.attributeIsEven
(Function<? super T, Integer> function) static <T> Predicates<T>
LongPredicates.attributeIsEven
(Function<? super T, Long> function) static <T> Predicates<T>
IntegerPredicates.attributeIsNegative
(Function<? super T, Integer> function) static <T> Predicates<T>
LongPredicates.attributeIsNegative
(Function<? super T, Long> function) static <T> Predicates<T>
Predicates.attributeIsNull
(Function<? super T, ?> function) static <T> Predicates<T>
IntegerPredicates.attributeIsOdd
(Function<? super T, Integer> function) static <T> Predicates<T>
LongPredicates.attributeIsOdd
(Function<? super T, Long> function) static <T> Predicates<T>
IntegerPredicates.attributeIsPositive
(Function<? super T, Integer> function) static <T> Predicates<T>
LongPredicates.attributeIsPositive
(Function<? super T, Long> function) static <T> Predicates<T>
IntegerPredicates.attributeIsZero
(Function<? super T, Integer> function) static <T> Predicates<T>
LongPredicates.attributeIsZero
(Function<? super T, Long> function) static <T,
V extends Comparable<? super V>>
Predicates<T>Predicates.attributeLessThan
(Function<? super T, ? extends V> function, V object) static <T,
V extends Comparable<? super V>>
Predicates<T>Predicates.attributeLessThanOrEqualTo
(Function<? super T, ? extends V> function, V object) static <T,
V> Predicates<T> Predicates.attributeNoneSatisfy
(Function<? super T, ? extends Iterable<V>> function, Predicate<? super V> predicate) static <T> Predicates<T>
Predicates.attributeNotEqual
(Function<? super T, ?> function, Object object) static <T> Predicates<T>
Predicates.attributeNotIn
(Function<? super T, ?> function, Iterable<?> iterable) Creates a predicate which returns true if an attribute selected from an object passed to accept method is not contained in the iterable.static <T> Predicates<T>
Predicates.attributeNotNull
(Function<? super T, ?> function) static <T,
V> Predicates<T> Predicates.attributePredicate
(Function<? super T, ? extends V> function, Predicate<? super V> predicate) static <T extends Comparable<? super T>>
Predicates<T>Predicates.betweenExclusive
(T from, T to) Creates a predicate which returns true if an object passed to accept method is within the range, exclusive of the from and to values.static <T extends Comparable<? super T>>
Predicates<T>Predicates.betweenInclusive
(T from, T to) Creates a predicate which returns true if an object passed to accept method is within the range, inclusive of the from and to values.static <T extends Comparable<? super T>>
Predicates<T>Predicates.betweenInclusiveFrom
(T from, T to) Creates a predicate which returns true if an object passed to accept method is within the range, inclusive of the from and exclusive from the to value.static <T extends Comparable<? super T>>
Predicates<T>Predicates.betweenInclusiveTo
(T from, T to) Creates a predicate which returns true if an object passed to accept method is within the range, exclusive of the from and inclusive of the to value.static Predicates<String>
StringPredicates.contains
(char character) Returns true if a char specified on the predicate is contained within a String passed to the accept method.static Predicates<String>
Returns true if a String specified on the predicate is contained within a String passed to the accept method.static Predicates<String>
StringPredicates.empty()
static Predicates<String>
Returns true if a String passed to the accept method ends with the string specified on the predicate.static Predicates<Object>
Tests for equality.static Predicates<String>
StringPredicates.equalsIgnoreCase
(String otherString) static <T extends Comparable<? super T>>
Predicates<T>Predicates.greaterThan
(T object) static Predicates<String>
StringPredicates.greaterThan
(String string) static <T extends Comparable<? super T>>
Predicates<T>Predicates.greaterThanOrEqualTo
(T object) static Predicates<String>
StringPredicates.greaterThanOrEqualTo
(String string) static Predicates<String>
StringPredicates.hasDigits()
static Predicates<String>
StringPredicates.hasLetters()
static Predicates<String>
StringPredicates.hasLettersAndDigits()
static Predicates<String>
StringPredicates.hasLettersOrDigits()
static Predicates<String>
StringPredicates.hasLowerCase()
static Predicates<String>
StringPredicates.hasSpaces()
static Predicates<String>
StringPredicates.hasUndefined()
static Predicates<String>
StringPredicates.hasUpperCase()
static <T> Predicates<T>
static <T> Predicates<T>
static Predicates<Object>
Creates a predicate which returns true if an object passed to accept method is contained in the iterable.static Predicates<Object>
static Predicates<Object>
Predicates.instanceOf
(Class<?> clazz) static Predicates<String>
StringPredicates.isAlpha()
static Predicates<String>
StringPredicates.isAlphanumeric()
static Predicates<String>
StringPredicates.isBlank()
static Predicates<Integer>
IntegerPredicates.isEven()
static Predicates<Long>
LongPredicates.isEven()
static Predicates<Integer>
IntegerPredicates.isNegative()
static Predicates<Long>
LongPredicates.isNegative()
static Predicates<Object>
Predicates.isNull()
static Predicates<String>
StringPredicates.isNumeric()
static Predicates<Integer>
IntegerPredicates.isOdd()
static Predicates<Long>
LongPredicates.isOdd()
static Predicates<Integer>
IntegerPredicates.isPositive()
static Predicates<Long>
LongPredicates.isPositive()
static Predicates<Integer>
IntegerPredicates.isZero()
static Predicates<Long>
LongPredicates.isZero()
static <T extends Comparable<? super T>>
Predicates<T>Predicates.lessThan
(T object) static Predicates<String>
static <T extends Comparable<? super T>>
Predicates<T>Predicates.lessThanOrEqualTo
(T object) static Predicates<String>
StringPredicates.lessThanOrEqualTo
(String string) static Predicates<String>
static <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicates<Iterable<T>>
Predicates.noneSatisfy
(Predicate<? super T> predicate) Predicates.not()
static <T> Predicates<T>
static Predicates<String>
StringPredicates.notBlank()
static Predicates<String>
StringPredicates.notContains
(String otherString) Returns true if a String specified on the predicate is contained within a String passed to the accept method.static Predicates<String>
StringPredicates.notEmpty()
static Predicates<Object>
static Predicates<Object>
Creates a predicate which returns true if an object passed to accept method is not contained in the iterable.static Predicates<Object>
static Predicates<Object>
Predicates.notInstanceOf
(Class<?> clazz) static Predicates<Object>
Predicates.notNull()
static Predicates<Object>
static <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicates<T>
static Predicates<Object>
static Predicates<String>
StringPredicates.size
(int size) static Predicates<String>
StringPredicates.startsWith
(String substring) Returns true if a String passed to the accept method starts with the string specified on the predicate.static Predicates<Class<?>>
static Predicates<Class<?>>
Predicates.superClass
(Class<?> aClass)