|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.jqno.equalsverifier.EqualsVerifier.RelaxedEqualsVerifierHelper<T>
public static class EqualsVerifier.RelaxedEqualsVerifierHelper<T>
Helper class for
EqualsVerifier.forRelaxedEqualExamples(Object, Object, Object...)
.
Its purpose is to make sure, at compile time, that a list of unequal
examples is given, as well as the list of equal examples that are
supplied to the aforementioned method.
Method Summary | |
---|---|
EqualsVerifier<T> |
andUnequalExample(T example)
Asks for an unequal instance of T and subsequently returns a fully constructed instance of EqualsVerifier . |
EqualsVerifier<T> |
andUnequalExamples(T first,
T... more)
Asks for a list of unequal instances of T and subsequently returns a fully constructed instance of EqualsVerifier . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public EqualsVerifier<T> andUnequalExample(T example)
EqualsVerifier
.
example
- An instance of T that is unequal to the previously
supplied equal examples.
EqualsVerifier
.public EqualsVerifier<T> andUnequalExamples(T first, T... more)
EqualsVerifier
.
first
- An instance of T that is unequal to the previously
supplied equal examples.more
- More instances of T, all of which are unequal to
one another, to first
, and to the previously
supplied equal examples. May also contain instances of
subclasses of T.
EqualsVerifier
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |