org.whattf.checker.table
Class HorizontalCellComparator
java.lang.Object
org.whattf.checker.table.HorizontalCellComparator
- All Implemented Interfaces:
- Comparator<Cell>
final class HorizontalCellComparator
- extends Object
- implements Comparator<Cell>
Compares cells using their left
field. The cells can never be equal.
- Version:
- $Id: HorizontalCellComparator.java 169 2007-05-25 07:21:55Z hsivonen $
- Author:
- hsivonen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THE_INSTANCE
public static final HorizontalCellComparator THE_INSTANCE
HorizontalCellComparator
private HorizontalCellComparator()
compare
public final int compare(Cell cell0,
Cell cell1)
- Specified by:
compare
in interface Comparator<Cell>