S
- the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details.A
- the type of the "actual" value.public abstract class AbstractUnevenComparableAssert<S extends AbstractUnevenComparableAssert<S,A>,A extends Comparable<? super A>> extends AbstractComparableAssert<S,A> implements UnevenComparableAssert<S,A>
UnevenComparableAssert
.actual, info, myself
Modifier | Constructor and Description |
---|---|
protected |
AbstractUnevenComparableAssert(A actual,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
S |
isEqualByComparingTo(A expected)
Verifies that the actual value is equal to the given one by invoking
. |
S |
isNotEqualByComparingTo(A other)
Verifies that the actual value is not equal to the given one by invoking
. |
inBinary, inHexadecimal, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, usingComparator, usingDefaultComparator
isEqualToComparingFieldByField, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, withThreadDumpOnError
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo
public S isEqualByComparingTo(A expected)
Comparable.compareTo(Object)
.isEqualByComparingTo
in interface UnevenComparableAssert<S extends AbstractUnevenComparableAssert<S,A>,A extends Comparable<? super A>>
expected
- the given value to compare the actual value to.this
assertion object.public S isNotEqualByComparingTo(A other)
Comparable.compareTo(Object)
.isNotEqualByComparingTo
in interface UnevenComparableAssert<S extends AbstractUnevenComparableAssert<S,A>,A extends Comparable<? super A>>
other
- the given value to compare the actual value to.this
assertion object.Copyright © 2013-2015 AssertJ. All Rights Reserved.