use of org.assertj.core.util.CheckReturnValue in project assertj-core by joel-costigliola.
the class AbstractComparableAssert method usingDefaultComparator.
@Override
@CheckReturnValue
public SELF usingDefaultComparator() {
super.usingDefaultComparator();
this.comparables = new Comparables();
return myself;
}
use of org.assertj.core.util.CheckReturnValue in project assertj-core by joel-costigliola.
the class AbstractBigDecimalAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super BigDecimal> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
this.bigDecimals = new BigDecimals(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
use of org.assertj.core.util.CheckReturnValue in project assertj-core by joel-costigliola.
the class AbstractByteAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super Byte> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
this.bytes = new Bytes(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
use of org.assertj.core.util.CheckReturnValue in project assertj-core by joel-costigliola.
the class AbstractComparableAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super ACTUAL> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
this.comparables = new Comparables(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
use of org.assertj.core.util.CheckReturnValue in project assertj-core by joel-costigliola.
the class AbstractBigIntegerAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super BigInteger> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
this.bigIntegers = new BigIntegers(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
Aggregations