public class NaturalStringCellComparator extends Object implements Serializable, Comparator<Object>
| Constructor and Description |
|---|
NaturalStringCellComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.displaytag.model.Cell c1,
org.displaytag.model.Cell c2)
Compares the contents of two arguments for order using
NaturalStringComparator. |
int |
compare(Object o1,
Object o2)
Compares its two arguments for order.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(Object o1, Object o2)
This implementation merely returns
compare((Cell)o1, (Cell)o2) .
compare in interface Comparator<Object>ClassCastException - the arguments cannot be cast to Cells.Comparator.compare(java.lang.Object, java.lang.Object)public int compare(org.displaytag.model.Cell c1,
org.displaytag.model.Cell c2)
NaturalStringComparator. Returns a negative integer, zero,
or a positive integer as the first argument is less than, equal to,
or greater than the second.NaturalStringComparator,
Comparator.compare(java.lang.Object, java.lang.Object)Copyright © 2013 The Kuali Foundation. All Rights Reserved.