Package | Description |
---|---|
org.modeshape.common.function |
Modifier and Type | Method and Description |
---|---|
static <T> Predicate<T> |
Predicate.always()
Return a predicate that is always satisfied.
|
Predicate<T> |
Predicate.and(Predicate<T> other)
Obtain a new predicate that performs the logical AND of this predicate and the supplied predicate.
|
static <T> Predicate<T> |
Predicate.isEqual(Object obj)
Return a predicate that is equivalent to
Objects.equals(Object, Object) called with the supplied object and the
object passed as a parameter to the test(Object) method. |
Predicate<T> |
Predicate.negate()
Obtain a new predicate that performs the logical NOT of this predicate.
|
static <T> Predicate<T> |
Predicate.never()
Return a predicate that is never satisfied.
|
Predicate<T> |
Predicate.or(Predicate<T> other)
Obtain a new predicate that performs the logical OR of this predicate and the supplied predicate.
|
Modifier and Type | Method and Description |
---|---|
Predicate<T> |
Predicate.and(Predicate<T> other)
Obtain a new predicate that performs the logical AND of this predicate and the supplied predicate.
|
Predicate<T> |
Predicate.or(Predicate<T> other)
Obtain a new predicate that performs the logical OR of this predicate and the supplied predicate.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.