fi.iki.hsivonen.xml.checker.table
Class VerticalCellComparator
java.lang.Object
fi.iki.hsivonen.xml.checker.table.VerticalCellComparator
- All Implemented Interfaces:
- Comparator<Cell>
final class VerticalCellComparator
- extends Object
- implements Comparator<Cell>
Compares cells first by their bottom
field and then by their
left
field. The cells can never be equal.
- Version:
- $Id: VerticalCellComparator.java,v 1.5 2006/12/01 12:34:30 hsivonen Exp $
- 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 VerticalCellComparator THE_INSTANCE
VerticalCellComparator
private VerticalCellComparator()
compare
public final int compare(Cell cell0,
Cell cell1)
- Specified by:
compare
in interface Comparator<Cell>