public class ListSorterOneAttribute<CLASS>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListSorterOneAttribute.IGetValue<CLASS> |
static class |
ListSorterOneAttribute.SortException |
| Constructor and Description |
|---|
ListSorterOneAttribute(java.util.List<CLASS> list) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGetter(java.lang.String attribute,
ListSorterOneAttribute.IGetValue getter) |
boolean |
checkIfSortedBy(java.lang.String attribute) |
java.util.List<CLASS> |
getList() |
java.lang.String |
getSortedBy() |
boolean |
isCurrentSortDirectionAscending() |
protected void |
processSort() |
void |
sortBy(java.lang.String attribute) |
public ListSorterOneAttribute(java.util.List<CLASS> list)
public java.util.List<CLASS> getList()
public void addGetter(java.lang.String attribute,
ListSorterOneAttribute.IGetValue getter)
public void sortBy(java.lang.String attribute)
throws ListSorterOneAttribute.SortException
public java.lang.String getSortedBy()
public boolean checkIfSortedBy(java.lang.String attribute)
public boolean isCurrentSortDirectionAscending()
protected void processSort()
throws ListSorterOneAttribute.SortException
Copyright © CaptainCasa Gmbh. All Rights Reserved.