|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchSort
Represents some method for sorting search results, and the order in which to search them. Implementations should be immutable.
| Nested Class Summary | |
|---|---|
static interface |
SearchSort.Order
The two most common sort orders are defined here as constants for convenience. |
| Method Summary | |
|---|---|
java.lang.String |
getKey()
Gets the key that uniquely identifies this sort method. |
java.lang.String |
getOrder()
Gets a string describing what order the results will be sorted in. |
| Method Detail |
|---|
java.lang.String getKey()
java.lang.String getOrder()
SearchSort.Order.ASCENDING and SearchSort.Order.DESCENDING,
but implementations may define other ordering options as necessary.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||