| Modifier and Type | Field and Description |
|---|---|
static NoOrder |
INSTANCE
Singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSingular()
Return
true if this Order contains exactly one component. |
List<OrderComponent> |
spec()
Return the order specification, expressed as an ordered list of
components containing each key, an optional
Timestamp and the the corresponding direction ordinal (e.g. |
public static NoOrder INSTANCE
public boolean isSingular()
Ordertrue if this Order contains exactly one component.isSingular in interface Ordertrue if this Order is singularpublic List<OrderComponent> spec()
Ordercomponents containing each key, an optional
Timestamp and the the corresponding direction ordinal (e.g. 1 for
ASC and -1 for DESC) in the constructed Order.spec in interface OrderOrderComponents that form
this Order.