Package | Description |
---|---|
org.eclipse.collections.impl.block.factory |
This package contains factory implementations for
Function , Predicate , SerializableComparator and Procedure . |
Modifier and Type | Class | Description |
---|---|---|
static class |
Predicates.AllSatisfy<T> |
|
static class |
Predicates.AnySatisfy<T> |
|
static class |
Predicates.NoneSatisfy<T> |
Modifier and Type | Method | Description |
---|---|---|
static <T> Predicates<T> |
Predicates.adapt(Predicate<T> predicate) |
|
static <T> Predicates<java.lang.Iterable<T>> |
Predicates.allSatisfy(Predicate<? super T> predicate) |
|
static Predicates<java.lang.Object> |
Predicates.alwaysFalse() |
|
static Predicates<java.lang.Object> |
Predicates.alwaysTrue() |
|
static <T> Predicates<T> |
Predicates.and(java.lang.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<java.lang.Iterable<T>> |
Predicates.anySatisfy(Predicate<? super T> predicate) |
|
static Predicates<java.lang.Object> |
Predicates.assignableFrom(java.lang.Class<?> clazz) |
|
static <T,V> Predicates<T> |
Predicates.attributeAllSatisfy(Function<? super T,? extends java.lang.Iterable<V>> function,
Predicate<? super V> predicate) |
|
static <T,V> Predicates<T> |
Predicates.attributeAnySatisfy(Function<? super T,? extends java.lang.Iterable<V>> function,
Predicate<? super V> predicate) |
|
static <T,V extends java.lang.Comparable<? super V>> |
Predicates.attributeBetweenExclusive(Function<? super T,? extends V> function,
V from,
V to) |
|
static <T,V extends java.lang.Comparable<? super V>> |
Predicates.attributeBetweenInclusive(Function<? super T,? extends V> function,
V from,
V to) |
|
static <T,V extends java.lang.Comparable<? super V>> |
Predicates.attributeBetweenInclusiveFrom(Function<? super T,? extends V> function,
V from,
V to) |
|
static <T,V extends java.lang.Comparable<? super V>> |
Predicates.attributeBetweenInclusiveTo(Function<? super T,? extends V> function,
V from,
V to) |
|
static <T> Predicates<T> |
Predicates.attributeEqual(Function<? super T,?> function,
java.lang.Object object) |
|
static <T,V extends java.lang.Comparable<? super V>> |
Predicates.attributeGreaterThan(Function<? super T,? extends V> function,
V object) |
|
static <T,V extends java.lang.Comparable<? super V>> |
Predicates.attributeGreaterThanOrEqualTo(Function<? super T,? extends V> function,
V object) |
|
static <T> Predicates<T> |
Predicates.attributeIn(Function<? super T,?> function,
java.lang.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,java.lang.Integer> function) |
|
static <T> Predicates<T> |
LongPredicates.attributeIsEven(Function<? super T,java.lang.Long> function) |
|
static <T> Predicates<T> |
IntegerPredicates.attributeIsNegative(Function<? super T,java.lang.Integer> function) |
|
static <T> Predicates<T> |
LongPredicates.attributeIsNegative(Function<? super T,java.lang.Long> function) |
|
static <T> Predicates<T> |
Predicates.attributeIsNull(Function<? super T,?> function) |
|
static <T> Predicates<T> |
IntegerPredicates.attributeIsOdd(Function<? super T,java.lang.Integer> function) |
|
static <T> Predicates<T> |
LongPredicates.attributeIsOdd(Function<? super T,java.lang.Long> function) |
|
static <T> Predicates<T> |
IntegerPredicates.attributeIsPositive(Function<? super T,java.lang.Integer> function) |
|
static <T> Predicates<T> |
LongPredicates.attributeIsPositive(Function<? super T,java.lang.Long> function) |
|
static <T> Predicates<T> |
IntegerPredicates.attributeIsZero(Function<? super T,java.lang.Integer> function) |
|
static <T> Predicates<T> |
LongPredicates.attributeIsZero(Function<? super T,java.lang.Long> function) |
|
static <T,V extends java.lang.Comparable<? super V>> |
Predicates.attributeLessThan(Function<? super T,? extends V> function,
V object) |
|
static <T,V extends java.lang.Comparable<? super V>> |
Predicates.attributeLessThanOrEqualTo(Function<? super T,? extends V> function,
V object) |
|
static <T,V> Predicates<T> |
Predicates.attributeNoneSatisfy(Function<? super T,? extends java.lang.Iterable<V>> function,
Predicate<? super V> predicate) |
|
static <T> Predicates<T> |
Predicates.attributeNotEqual(Function<? super T,?> function,
java.lang.Object object) |
|
static <T> Predicates<T> |
Predicates.attributeNotIn(Function<? super T,?> function,
java.lang.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 java.lang.Comparable<? super 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 java.lang.Comparable<? super 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 java.lang.Comparable<? super 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 java.lang.Comparable<? super 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<java.lang.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<java.lang.String> |
StringPredicates.contains(java.lang.String otherString) |
Returns true if a String specified on the predicate is contained within a String passed to the the accept
method.
|
static Predicates<java.lang.String> |
StringPredicates.empty() |
|
static Predicates<java.lang.String> |
StringPredicates.endsWith(java.lang.String substring) |
Returns true if a String passed to the the accept method ends with the string specified on the predicate.
|
static Predicates<java.lang.Object> |
Predicates.equal(java.lang.Object object) |
Tests for equality.
|
static Predicates<java.lang.String> |
StringPredicates.equalsIgnoreCase(java.lang.String otherString) |
|
static <T extends java.lang.Comparable<? super T>> |
Predicates.greaterThan(T object) |
|
static Predicates<java.lang.String> |
StringPredicates.greaterThan(java.lang.String string) |
|
static <T extends java.lang.Comparable<? super T>> |
Predicates.greaterThanOrEqualTo(T object) |
|
static Predicates<java.lang.String> |
StringPredicates.greaterThanOrEqualTo(java.lang.String string) |
|
static Predicates<java.lang.String> |
StringPredicates.hasDigits() |
|
static Predicates<java.lang.String> |
StringPredicates.hasLetters() |
|
static Predicates<java.lang.String> |
StringPredicates.hasLettersAndDigits() |
|
static Predicates<java.lang.String> |
StringPredicates.hasLettersOrDigits() |
|
static Predicates<java.lang.String> |
StringPredicates.hasLowerCase() |
|
static Predicates<java.lang.String> |
StringPredicates.hasSpaces() |
|
static Predicates<java.lang.String> |
StringPredicates.hasUndefined() |
|
static Predicates<java.lang.String> |
StringPredicates.hasUpperCase() |
|
static <T> Predicates<T> |
Predicates.ifFalse(Function<? super T,java.lang.Boolean> function) |
|
static <T> Predicates<T> |
Predicates.ifTrue(Function<? super T,java.lang.Boolean> function) |
|
static Predicates<java.lang.Object> |
Predicates.in(java.lang.Iterable<?> iterable) |
Creates a predicate which returns true if an object passed to accept method is contained in the iterable.
|
static Predicates<java.lang.Object> |
Predicates.in(java.lang.Object... array) |
|
static Predicates<java.lang.Object> |
Predicates.instanceOf(java.lang.Class<?> clazz) |
|
static Predicates<java.lang.String> |
StringPredicates.isAlpha() |
|
static Predicates<java.lang.String> |
StringPredicates.isAlphanumeric() |
|
static Predicates<java.lang.String> |
StringPredicates.isBlank() |
|
static Predicates<java.lang.Integer> |
IntegerPredicates.isEven() |
|
static Predicates<java.lang.Long> |
LongPredicates.isEven() |
|
static Predicates<java.lang.Integer> |
IntegerPredicates.isNegative() |
|
static Predicates<java.lang.Long> |
LongPredicates.isNegative() |
|
static Predicates<java.lang.Object> |
Predicates.isNull() |
|
static Predicates<java.lang.String> |
StringPredicates.isNumeric() |
|
static Predicates<java.lang.Integer> |
IntegerPredicates.isOdd() |
|
static Predicates<java.lang.Long> |
LongPredicates.isOdd() |
|
static Predicates<java.lang.Integer> |
IntegerPredicates.isPositive() |
|
static Predicates<java.lang.Long> |
LongPredicates.isPositive() |
|
static Predicates<java.lang.Integer> |
IntegerPredicates.isZero() |
|
static Predicates<java.lang.Long> |
LongPredicates.isZero() |
|
static <T extends java.lang.Comparable<? super T>> |
Predicates.lessThan(T object) |
|
static Predicates<java.lang.String> |
StringPredicates.lessThan(java.lang.String string) |
|
static <T extends java.lang.Comparable<? super T>> |
Predicates.lessThanOrEqualTo(T object) |
|
static Predicates<java.lang.String> |
StringPredicates.lessThanOrEqualTo(java.lang.String string) |
|
static Predicates<java.lang.String> |
StringPredicates.matches(java.lang.String regex) |
|
static <T> Predicates<T> |
Predicates.neither(Predicate<? super T> operation1,
Predicate<? super T> operation2) |
|
static <T> Predicates<T> |
Predicates.noneOf(java.lang.Iterable<? extends Predicate<? super T>> operations) |
|
static <T> Predicates<T> |
Predicates.noneOf(Predicate<? super T>... operations) |
|
static <T> Predicates<java.lang.Iterable<T>> |
Predicates.noneSatisfy(Predicate<? super T> predicate) |
|
Predicates<T> |
Predicates.not() |
|
static <T> Predicates<T> |
Predicates.not(Predicate<T> predicate) |
|
static Predicates<java.lang.String> |
StringPredicates.notBlank() |
|
static Predicates<java.lang.String> |
StringPredicates.notContains(java.lang.String otherString) |
Returns true if a String specified on the predicate is contained within a String passed to the the accept
method.
|
static Predicates<java.lang.String> |
StringPredicates.notEmpty() |
|
static Predicates<java.lang.Object> |
Predicates.notEqual(java.lang.Object object) |
|
static Predicates<java.lang.Object> |
Predicates.notIn(java.lang.Iterable<?> iterable) |
Creates a predicate which returns true if an object passed to accept method is not contained in
the iterable.
|
static Predicates<java.lang.Object> |
Predicates.notIn(java.lang.Object... array) |
|
static Predicates<java.lang.Object> |
Predicates.notInstanceOf(java.lang.Class<?> clazz) |
|
static Predicates<java.lang.Object> |
Predicates.notNull() |
|
static Predicates<java.lang.Object> |
Predicates.notSameAs(java.lang.Object object) |
|
static <T> Predicates<T> |
Predicates.or(java.lang.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<java.lang.Object> |
Predicates.sameAs(java.lang.Object object) |
|
static Predicates<java.lang.String> |
StringPredicates.size(int size) |
|
static Predicates<java.lang.String> |
StringPredicates.startsWith(java.lang.String substring) |
Returns true if a String passed to the the accept method starts with the string specified on the predicate.
|
static Predicates<java.lang.Class<?>> |
Predicates.subClass(java.lang.Class<?> aClass) |
|
static Predicates<java.lang.Class<?>> |
Predicates.superClass(java.lang.Class<?> aClass) |
Copyright © 2004–2020. All rights reserved.