public abstract class BaseContainerSorter extends java.lang.Object implements Sorter
Constructor and Description |
---|
BaseContainerSorter(CollectionContainer container) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Comparator<Entity> |
createComparator(Sort sort,
com.haulmont.chile.core.model.MetaClass metaClass) |
CollectionContainer |
getContainer() |
protected abstract void |
setItemsToContainer(java.util.List list) |
void |
sort(Sort sort)
Sorts data according to the given
Sort parameters. |
protected void |
sortInMemory(Sort sort) |
public BaseContainerSorter(CollectionContainer container)
public CollectionContainer getContainer()
public void sort(Sort sort)
Sorter
Sort
parameters.protected void sortInMemory(Sort sort)
protected abstract void setItemsToContainer(java.util.List list)