public final class TableCellComparer extends Object implements Comparator<TableCell>
Provides the comparer for TableCell
.
Modifier and Type | Field and Description |
---|---|
static TableCellComparer |
INSTANCE
Default instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(TableCell x,
TableCell y)
Compares two objects and returns a value indicating whether one is less than,
equal to, or greater than the other.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final TableCellComparer INSTANCE
Default instance.
public int compare(TableCell x, TableCell y)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
compare
in interface Comparator<TableCell>
x
- The first object to compare.y
- The second object to compare.A signed integer that indicates the relative values of x and y, as shown in the following table.
Value | Meaning |
---|---|
Less than zero | x is less than y. |
Zero | x equals y. |
Greater than zero | x is greater than y. |
Copyright © 2018. All rights reserved.