public enum RowComparator extends Enum<RowComparator> implements Comparator<Row>
Row.| Enum Constant and Description |
|---|
INSTANCE
The singleton
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Row row1,
Row row2) |
static RowComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RowComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final RowComparator INSTANCE
public static RowComparator[] values()
for (RowComparator c : RowComparator.values()) System.out.println(c);
public static RowComparator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int compare(Row row1, Row row2)
compare in interface Comparator<Row>Copyright © 2015–2017 AssertJ. All rights reserved.