| Modifier and Type | Field and Description |
|---|---|
| private final Comparator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | areEqual(Object
the object to compare to actual, Object otherthe object to compare to other)actualOverrides org. Implements org. true if the arguments are deeply equal to each other, false otherwise.
|
| public String | asText()
Overrides default org. |
| private boolean | |
| public boolean | isStandard()
Overrides org. Implements org. |
| public String |
| elementComparator | back to summary |
|---|---|
| private final Comparator<? super T> elementComparator | |
| AtomicReferenceArrayElementComparisonStrategy | back to summary |
|---|---|
| public AtomicReferenceArrayElementComparisonStrategy(Comparator<? super T> elementComparator) | |
| areEqual | back to summary |
|---|---|
| public boolean areEqual(Object actual, Object other) Overrides org. Implements org. Doc from org. Returns
It mimics the behavior of
| |
| asText | back to summary |
|---|---|
| public String asText() Overrides default org. Doc from org. Used in error messages when a custom comparison strategy was used to compare values.
For example
| |
| compareElementsOf | back to summary |
|---|---|
| private boolean compareElementsOf(AtomicReferenceArray<T> actual, T[] other) | |
| isStandard | back to summary |
|---|---|
| public boolean isStandard() Overrides org. Implements org. Doc from org. Return true if comparison strategy is default/standard, false otherwise
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |