public class ListSorter extends Object implements Comparator<Object>
| Constructor and Description |
|---|
ListSorter(String campo) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object first,
Object second) |
int |
compareBy(Object primeiro,
Object segundo) |
static List<Object> |
sort(List<Object> lista,
String campo,
boolean reverse)
Metodo responsavel por retorna uma lista de Object ordenada pelo nome do
campo informado
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsCopyright © 2015. All Rights Reserved.