@Immutable public class Ordering extends Object implements LanguageObject, Ordering
Constructor and Description |
---|
Ordering(DynamicOperand operand,
Order order)
Create a new ordering specification, given the supplied operand and order.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
|
boolean |
equals(Object obj) |
DynamicOperand |
getOperand() |
String |
getOrder() |
int |
hashCode() |
Order |
order()
The order type.
|
String |
toString() |
public Ordering(DynamicOperand operand, Order order)
operand
- the operand being orderedorder
- the order typeIllegalArgumentException
- if the operand or order type is nullpublic DynamicOperand getOperand()
getOperand
in interface Ordering
public Order order()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.