Uses of Class
org.eclipse.collections.impl.block.factory.Predicates
Package | Description |
---|---|
org.eclipse.collections.impl.block.factory |
This package contains factory implementations for
Function , Predicate , SerializableComparator and Procedure . |
-
Uses of Predicates in org.eclipse.collections.impl.block.factory
Subclasses of Predicates in org.eclipse.collections.impl.block.factory Modifier and Type Class Description static class
Predicates.AllSatisfy<T>
static class
Predicates.AnySatisfy<T>
static class
Predicates.NoneSatisfy<T>
Methods in org.eclipse.collections.impl.block.factory that return Predicates Modifier and Type Method Description static <T> Predicates<T>
Predicates. adapt(Predicate<T> predicate)
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>
Predicates. and(Iterable<? extends Predicate<? super T>> predicates)
Predicates<T>
Predicates. and(Predicate<? super T> op)
static <T> Predicates<T>
Predicates. and(Predicate<? super T>... predicates)
static <T> Predicates<T>
Predicates. and(Predicate<? super T> predicate1, Predicate<? super T> predicate2)
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 the accept method.static Predicates<String>
StringPredicates. contains(String otherString)
Returns true if a String specified on the predicate is contained within a String passed to the the accept method.static Predicates<String>
StringPredicates. empty()
static Predicates<String>
StringPredicates. endsWith(String substring)
Returns true if a String passed to the the accept method ends with the string specified on the predicate.static Predicates<Object>
Predicates. equal(Object 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>
Predicates. ifFalse(Function<? super T,Boolean> function)
static <T> Predicates<T>
Predicates. ifTrue(Function<? super T,Boolean> function)
static Predicates<Object>
Predicates. in(Iterable<?> iterable)
Creates a predicate which returns true if an object passed to accept method is contained in the iterable.static Predicates<Object>
Predicates. in(Object... array)
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>
StringPredicates. lessThan(String string)
static <T extends Comparable<? super T>>
Predicates<T>Predicates. lessThanOrEqualTo(T object)
static Predicates<String>
StringPredicates. lessThanOrEqualTo(String string)
static Predicates<String>
StringPredicates. matches(String regex)
static <T> Predicates<T>
Predicates. neither(Predicate<? super T> operation1, Predicate<? super T> operation2)
static <T> Predicates<T>
Predicates. noneOf(Iterable<? extends Predicate<? super T>> operations)
static <T> Predicates<T>
Predicates. noneOf(Predicate<? super T>... operations)
static <T> Predicates<Iterable<T>>
Predicates. noneSatisfy(Predicate<? super T> predicate)
Predicates<T>
Predicates. not()
static <T> Predicates<T>
Predicates. not(Predicate<T> predicate)
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 the accept method.static Predicates<String>
StringPredicates. notEmpty()
static Predicates<Object>
Predicates. notEqual(Object object)
static Predicates<Object>
Predicates. notIn(Iterable<?> iterable)
Creates a predicate which returns true if an object passed to accept method is not contained in the iterable.static Predicates<Object>
Predicates. notIn(Object... array)
static Predicates<Object>
Predicates. notInstanceOf(Class<?> clazz)
static Predicates<Object>
Predicates. notNull()
static Predicates<Object>
Predicates. notSameAs(Object object)
static <T> Predicates<T>
Predicates. or(Iterable<? extends Predicate<? super T>> predicates)
Predicates<T>
Predicates. or(Predicate<? super T> op)
static <T> Predicates<T>
Predicates. or(Predicate<? super T>... predicates)
static <T> Predicates<T>
Predicates. or(Predicate<? super T> predicate1, Predicate<? super T> predicate2)
static Predicates<Object>
Predicates. sameAs(Object object)
static Predicates<String>
StringPredicates. size(int size)
static Predicates<String>
StringPredicates. startsWith(String substring)
Returns true if a String passed to the the accept method starts with the string specified on the predicate.static Predicates<Class<?>>
Predicates. subClass(Class<?> aClass)
static Predicates<Class<?>>
Predicates. superClass(Class<?> aClass)