Package com.cosylab.vdct.inspector.sheet
Class PropertyComparator
- java.lang.Object
-
- com.cosylab.vdct.inspector.sheet.PropertyComparator
-
- All Implemented Interfaces:
Comparator
public class PropertyComparator extends Object implements Comparator
- Author:
- ssah
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Object arg0, Object arg1)
static int[]
getOrder(InspectableProperty[][] properties, boolean rows, int sortingIndex, boolean ascending)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(Object arg0, Object arg1)
- Specified by:
compare
in interfaceComparator
-
getOrder
public static int[] getOrder(InspectableProperty[][] properties, boolean rows, int sortingIndex, boolean ascending)
- Parameters:
properties
- propertiesrows
- rowssortingIndex
- sortingIndexascending
- ascending- Returns:
- something
-
-