VALUE
- is the generic type of the values to sort
.public interface AttributeWriteSortComparator<VALUE> extends AttributeReadSortComparator<VALUE>
sort-comparator
attribute of
an object.Modifier and Type | Method and Description |
---|---|
void |
setSortComparator(Comparator<VALUE> sortComparator)
This method sets the
sort-comparator attribute. |
getSortComparator
void setSortComparator(Comparator<VALUE> sortComparator)
sort-comparator
attribute. If <VALUE>
implements Comparable
you may simple provide
ComparableComparator.getInstance()
as argument (unless a more specific
sorting is required here).sortComparator
- is the new value of AttributeReadSortComparator.getSortComparator()
. May be null
to
disable sorting.Copyright © 2001–2016 mmm-Team. All rights reserved.