com.gentlyweb.utils
Class Grouper
java.lang.Object
com.gentlyweb.utils.Grouper
public class Grouper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Grouper
public Grouper(Class c)
addGroupBy
public void addGroupBy(Getter get)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
addGroupBy
public void addGroupBy(String on)
group
public Map group(List items)
throws ChainException
- Throws:
ChainException
groupSortByGroupSize
public List groupSortByGroupSize(List items,
String ascDesc)
throws ChainException
- Throws:
ChainException