|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Sorter
An interface implemented by concrete sorters. Sorters can be applied to collections. They return a copy of the collection that is sorted in accordance with the sorter's comparison rules.
| Nested Class Summary | |
|---|---|
static class |
Sorter.AbstractSorter
An abstract baseclass for concrete sorters. |
| Field Summary | |
|---|---|
static java.util.List<java.lang.Object> |
NO_ARGS
|
| Method Summary | |
|---|---|
java.util.Comparator |
getComparator(java.lang.Object owner)
Returns the comparator that may be used for comparisons. |
java.util.Comparator |
getComparator(java.lang.Object owner,
java.util.List<java.lang.Object> args)
Returns the comparator that may be used for comparisons. |
| Field Detail |
|---|
static final java.util.List<java.lang.Object> NO_ARGS
| Method Detail |
|---|
java.util.Comparator getComparator(java.lang.Object owner)
owner - the collection being sorted.
java.util.Comparator getComparator(java.lang.Object owner,
java.util.List<java.lang.Object> args)
owner - the collection being sorted.args - comparator arguments.
|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||