Package org.javlo.bean
Class SortBean<T>
- java.lang.Object
-
- org.javlo.bean.SortBean<T>
-
- All Implemented Interfaces:
Comparable<SortBean<T>>
public class SortBean<T> extends Object implements Comparable<SortBean<T>>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(SortBean<T> o)
T
getObj()
static <T> List<T>
transformList(Collection<SortBean<T>> inList)
-
-
-
Constructor Detail
-
SortBean
public SortBean(T obj, int order)
-
-
Method Detail
-
compareTo
public int compareTo(SortBean<T> o)
- Specified by:
compareTo
in interfaceComparable<T>
-
transformList
public static <T> List<T> transformList(Collection<SortBean<T>> inList)
-
getObj
public T getObj()
-
-