public final class SortingProperty<E> extends Object implements LocalProperty<E>
| Constructor and Description |
|---|
SortingProperty(E column,
SortOrder order) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
E |
getColumn() |
Set<E> |
getColumns() |
SortOrder |
getOrder() |
int |
hashCode() |
boolean |
isOrderSensitive()
Returns true if reordering breaks this LocalProperty
|
boolean |
isSimplifiedBy(LocalProperty<E> known)
Return true if the actual LocalProperty can be used to simplify this LocalProperty
|
String |
toString() |
<T> Optional<LocalProperty<T>> |
translate(Function<E,Optional<T>> translator)
Returns Optional.empty() if the column could not be translated
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitconstrain, withConstantspublic boolean isOrderSensitive()
LocalPropertyisOrderSensitive in interface LocalProperty<E>public E getColumn()
public Set<E> getColumns()
getColumns in interface LocalProperty<E>public SortOrder getOrder()
public <T> Optional<LocalProperty<T>> translate(Function<E,Optional<T>> translator)
translate in interface LocalProperty<E>public boolean isSimplifiedBy(LocalProperty<E> known)
LocalPropertyisSimplifiedBy in interface LocalProperty<E>Copyright © 2012–2022. All rights reserved.