| Modifier and Type | Method and Description |
|---|---|
static <T> EqualsCheck<T> |
EqualsCheck.alwaysTrue() |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
EqualsLambda.equals(T a,
T b,
EqualsCheck<T> equalsCheck)
Does what
Objects.equals(java.lang.Object, java.lang.Object)
does, except allows to use methods to check equality as lambda. |
static <T> boolean |
EqualsLambda.equalsList(List<T> a,
List<T> b,
EqualsCheck<T> equalsCheck)
Checks that all elements in
a are contained in b at the
same position. |
static <K,V> boolean |
EqualsLambda.equalsMap(Map<K,V> a,
Map<K,V> b,
EqualsCheck<K> equalsCheckKey,
EqualsCheck<V> equalsCheckValue)
Checks that all mappings between key and value in
a are contained
in b. |
static <K,V> boolean |
EqualsLambda.equalsMap(Map<K,V> a,
Map<K,V> b,
EqualsCheck<K> equalsCheckKey,
EqualsCheck<V> equalsCheckValue)
Checks that all mappings between key and value in
a are contained
in b. |
static <T> boolean |
EqualsLambda.equalsSet(Set<T> a,
Set<T> b,
EqualsCheck<T> equalsCheck)
Checks that all elements in
a are contained in b. |
Copyright © 2018. All rights reserved.