public class OnFieldsComparator extends FieldByFieldComparator
Constructor and Description |
---|
OnFieldsComparator(String... fields) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
areEqual(Object actualElement,
Object otherElement) |
String[] |
getFields() |
String |
toString() |
compare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public OnFieldsComparator(String... fields)
public String[] getFields()
protected boolean areEqual(Object actualElement, Object otherElement)
areEqual
in class FieldByFieldComparator
public String toString()
toString
in class FieldByFieldComparator
Copyright © 2014-2015 AssertJ. All Rights Reserved.