com.gentlyweb.utils
public class Grouper extends Object
Modifier and Type | Method and Description |
---|---|
void |
addGroupBy(Getter get) |
void |
addGroupBy(String on) |
Map |
group(List items) |
List |
groupSortByGroupSize(List items,
String ascDesc) |
public Grouper(Class c)
public void addGroupBy(Getter get) throws IllegalArgumentException
IllegalArgumentException
public void addGroupBy(String on)
public Map group(List items) throws ChainException
ChainException
public List groupSortByGroupSize(List items, String ascDesc) throws ChainException
ChainException