Differencespublic class PropertyDifferences extends Object implements Differences
| Constructor | Description |
|---|---|
PropertyDifferences(List<Difference> differences) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
areEqual() |
|
List<Difference> |
differences() |
The differences between the two objects.
|
boolean |
equals(Object other) |
|
int |
hashCode() |
|
String |
toString() |
public PropertyDifferences(List<Difference> differences)
differences - cannot be null or emptyNullPointerException - if differences is nullIllegalArgumentException - if differences.isEmpty() is truepublic List<Difference> differences()
DifferencesIterable.differences in interface DifferencesIterable if there are nonepublic boolean areEqual()
areEqual in interface Differencestrue if the two POJOs were equal to each other;
false otherwise.public String toString()
toString in interface DifferencestoString in class ObjectCopyright © 2008–2018. All rights reserved.