fi.iki.hsivonen.xml.checker.table
Class HorizontalCellComparator
java.lang.Object
fi.iki.hsivonen.xml.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,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 HorizontalCellComparator THE_INSTANCE
HorizontalCellComparator
private HorizontalCellComparator()
compare
public final int compare(Cell cell0,
Cell cell1)
- Specified by:
compare
in interface Comparator<Cell>