|
|||||||||
| Home >> All >> org >> integralsource >> [ monsoon overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.integralsource.monsoon
Class ItemSorter

java.lang.Objectorg.integralsource.monsoon.ItemSorter
- public class ItemSorter
- extends java.lang.Object
| Field Summary | |
private static Ascending |
_ascend
|
private static int |
_column
|
private static java.util.Comparator |
_compare
|
private static Descending |
_descend
|
private static boolean |
_type
|
| Constructor Summary | |
ItemSorter()
|
|
| Method Summary | |
static int |
getColumn()
Returns the column which was last sorted |
static boolean |
getSort()
Returns the type of sort that was last used. |
static void |
setColumn(int col)
Sets the column to be sorted |
static java.util.ArrayList |
sort(java.util.ArrayList items,
boolean ascending)
Sorts items based on the ascending. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_ascend
private static Ascending _ascend
_descend
private static Descending _descend
_compare
private static java.util.Comparator _compare
_type
private static boolean _type
_column
private static int _column
| Constructor Detail |
ItemSorter
public ItemSorter()
| Method Detail |
sort
public static java.util.ArrayList sort(java.util.ArrayList items, boolean ascending)
- Sorts
itemsbased on theascending. The sortedjava.util.ArrayListis returned.
getSort
public static boolean getSort()
- Returns the type of sort that was last used.
getColumn
public static int getColumn()
- Returns the column which was last sorted
setColumn
public static void setColumn(int col)
- Sets the column to be sorted
|
|||||||||
| Home >> All >> org >> integralsource >> [ monsoon overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.integralsource.monsoon.ItemSorter