T - Type of compared entity@FunctionalInterface public interface UnaryEquator<T> extends BiPredicate<T,T>
| Modifier and Type | Method and Description |
|---|---|
default UnaryEquator<T> |
and(UnaryEquator<? super T> other)
Returns a composed equator that represents a short-circuiting logical AND of this equator and another.
|
static <T> UnaryEquator<T> |
comparing(Comparator<? super T> c)
|
static <T> UnaryEquator<T> |
defaultEquality() |
static <T> UnaryEquator<T> |
falsum() |
static <T> boolean |
isSameReference(T o1,
T o2) |
default UnaryEquator<T> |
negate() |
default UnaryEquator<T> |
or(UnaryEquator<? super T> other)
Returns a composed equator that represents a short-circuiting logical AND of this equator and another.
|
static <T> UnaryEquator<T> |
referenceEquality() |
static <T> UnaryEquator<T> |
verum() |
and, or, testdefault UnaryEquator<T> and(UnaryEquator<? super T> other)
false, then the other equator is not
evaluated.other - The other (never null equatordefault UnaryEquator<T> or(UnaryEquator<? super T> other)
true, then the other equator is not
evaluated.other - The other (never null equatordefault UnaryEquator<T> negate()
negate in interface BiPredicate<T,T>static <T> boolean isSameReference(T o1,
T o2)
static <T> UnaryEquator<T> defaultEquality()
T - Type of entityObjects.equals(Object, Object)static <T> UnaryEquator<T> referenceEquality()
T - Type of entityisSameReference(Object, Object)static <T> UnaryEquator<T> comparing(Comparator<? super T> c)
T - Type of entityc - The (never null) comparatorstatic <T> UnaryEquator<T> verum()
T - Type of evaluated entityUnaryEquator that returns always truestatic <T> UnaryEquator<T> falsum()
T - Type of evaluated entityUnaryEquator that returns always falseCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.