|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSortStrategy
public abstract class SortStrategy
A SortStrategy is an implementation for the state machine which is used to cycle through sort directions.
Constructor Summary | |
---|---|
SortStrategy()
|
Method Summary | |
---|---|
abstract SortDirection |
getDefaultDirection()
Get the default SortDirection . |
abstract SortDirection |
nextDirection(SortDirection direction)
Given a direction compute the next SortDirection . |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortStrategy()
Method Detail |
---|
public abstract SortDirection getDefaultDirection()
SortDirection
.
SortDirection
public abstract SortDirection nextDirection(SortDirection direction)
direction
compute the next SortDirection
. Implementations
are free to use arbitrary logic to compute the next direction.
direction
- the current sort direction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |