T
- the type of the sort propertypublic class SortParam<T> extends Object implements IClusterable
Constructor and Description |
---|
SortParam(T property,
boolean ascending) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T |
getProperty() |
int |
hashCode() |
boolean |
isAscending()
check if sort order is ascending
|
String |
toString() |
public SortParam(T property, boolean ascending)
property
- sort propertyascending
- true if sort order is ascending, false
if sort order is
descending
public T getProperty()
public boolean isAscending()
true if sort order is ascending, false
if sort order is
descending
public String toString()
toString
in class Object
Object.toString()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.