public class AtomicReferenceArrayElementComparisonStrategy<T> extends StandardComparisonStrategy
Constructor and Description |
---|
AtomicReferenceArrayElementComparisonStrategy(Comparator<? super T> elementComparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
areEqual(Object actual,
Object other)
Returns true if actual and other are equal based on
Objects.areEqual(Object, Object) , false otherwise. |
String |
asText() |
boolean |
isStandard()
Return true if comparison strategy is default/standard, false otherwise
|
String |
toString() |
duplicatesFrom, instance, isGreaterThan, isLessThan, iterableContains, iterableRemoves, iterablesRemoveFirst, newSetUsingComparisonStrategy, stringContains, stringEndsWith, stringStartsWith
arrayContains, isGreaterThanOrEqualTo, isLessThanOrEqualTo
public AtomicReferenceArrayElementComparisonStrategy(Comparator<? super T> elementComparator)
public boolean areEqual(Object actual, Object other)
StandardComparisonStrategy
Objects.areEqual(Object, Object)
, false otherwise.areEqual
in interface ComparisonStrategy
areEqual
in class StandardComparisonStrategy
actual
- the object to compare to otherother
- the object to compare to actualObjects.areEqual(Object, Object)
, false otherwise.public String asText()
asText
in class StandardComparisonStrategy
public boolean isStandard()
ComparisonStrategy
isStandard
in interface ComparisonStrategy
isStandard
in class StandardComparisonStrategy
Copyright © 2014–2019 AssertJ. All rights reserved.