Class ColumnElementsComparator<CellElementComparator extends Comparator<com._1c.g5.v8.dt.moxel.ui.extension.diff.CellElement>>
- java.lang.Object
-
- com._1c.g5.v8.dt.moxel.ui.extension.diff.ColumnElementsComparator<CellElementComparator>
-
- Type Parameters:
CellElementComparator
-Comparator
implementation for comparing instances ofCellElement
- All Implemented Interfaces:
Comparator<ColumnElement>
public class ColumnElementsComparator<CellElementComparator extends Comparator<com._1c.g5.v8.dt.moxel.ui.extension.diff.CellElement>> extends Object implements Comparator<ColumnElement>
Implementation ofComparator
for comparing instances ofCellElement
-
-
Constructor Summary
Constructors Constructor Description ColumnElementsComparator(CellElementComparator cellComparator)
Creates new instance ofColumnElementsComparator
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ColumnElement o1, ColumnElement o2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
ColumnElementsComparator
public ColumnElementsComparator(CellElementComparator cellComparator)
Creates new instance ofColumnElementsComparator
.- Parameters:
cellComparator
-ColumnElementsComparator
, must not benull
-
-
Method Detail
-
compare
public int compare(ColumnElement o1, ColumnElement o2)
- Specified by:
compare
in interfaceComparator<CellElementComparator extends Comparator<com._1c.g5.v8.dt.moxel.ui.extension.diff.CellElement>>
-
-