Package org.imixs.workflow
Klasse ItemCollectionComparator
java.lang.Object
org.imixs.workflow.ItemCollectionComparator
- Alle implementierten Schnittstellen:
Comparator<ItemCollection>
The ItemCollectionComparator provides a Comparator for ItemColections. The
item to be compared can be provided in the constructor.
Usage:
Collections.sort(collection, new ItemCollectionComparator("txtname", true));
- Autor:
- rsoika
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungItemCollectionComparator(String aItemName) This method sorts by the default locale ascendingItemCollectionComparator(String aItemName, boolean ascending) This method sorts by the default localeItemCollectionComparator(String aItemName, boolean ascending, Locale locale) -
Methodenübersicht
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Konstruktordetails
-
ItemCollectionComparator
-
ItemCollectionComparator
This method sorts by the default locale- Parameter:
aItemName-ascending-
-
ItemCollectionComparator
This method sorts by the default locale ascending- Parameter:
aItemName-ascending-
-
-
Methodendetails
-
compare
- Angegeben von:
comparein SchnittstelleComparator<ItemCollection>
-