|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISorter<T>
Interface for view sorters.
DataObjectView
Field Summary | |
---|---|
static IFilterSorter |
DEFAULT_SORTER
A sorter that delegates to DefaultComparator . |
static ISorter |
NULL_SORTER
A sorter that does nothing. |
Method Summary | |
---|---|
boolean |
affectsOrder(PropertyPath path)
Return true if a change to a given path might affect the sort order of the object at the root of the path. |
int |
compare(T o1,
T o2)
See Comparator.compare(Object, Object) . |
Methods inherited from interface java.util.Comparator |
---|
equals |
Field Detail |
---|
static final ISorter NULL_SORTER
static final IFilterSorter DEFAULT_SORTER
DefaultComparator
.
Method Detail |
---|
int compare(T o1, T o2)
Comparator.compare(Object, Object)
.
compare
in interface Comparator<T>
boolean affectsOrder(PropertyPath path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |