Differences
public 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 null
IllegalArgumentException
- if differences.isEmpty()
is true
public List<Difference> differences()
Differences
Iterable
.differences
in interface Differences
Iterable
if there are nonepublic boolean areEqual()
areEqual
in interface Differences
true
if the two POJOs were equal
to each other;
false
otherwise.public String toString()
toString
in interface Differences
toString
in class Object
Copyright © 2008–2018. All rights reserved.