Package org.imixs.workflow.office.forms
Class ChronicleEntityComparator
java.lang.Object
org.imixs.workflow.office.forms.ChronicleEntityComparator
- All Implemented Interfaces:
Comparator<ChronicleEntity>
Compares two ChronicleEntities by its date value.
- Author:
- rsoika
-
Constructor Summary
ConstructorsConstructorDescriptionThis method sorts by the default locale ascendingChronicleEntityComparator(boolean ascending) This method sorts by the default localeChronicleEntityComparator(boolean ascending, Locale locale) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ChronicleEntityComparator
-
ChronicleEntityComparator
public ChronicleEntityComparator(boolean ascending) This method sorts by the default locale- Parameters:
aItemName-ascending-
-
ChronicleEntityComparator
public ChronicleEntityComparator()This method sorts by the default locale ascending- Parameters:
aItemName-ascending-
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<ChronicleEntity>
-