public class DefaultFacetSortProvider extends Object implements FacetSortProvider
| Constructor and Description |
|---|
DefaultFacetSortProvider() |
| Modifier and Type | Method and Description |
|---|---|
Comparator<FacetValue> |
getComparatorForTypeAndProperty(IndexedType indexedType,
IndexedProperty indexedProperty)
Get the comparator for the type and property
|
boolean |
isDescending() |
void |
setComparator(Comparator<FacetValue> comparator) |
void |
setDescending(boolean descending) |
public boolean isDescending()
public void setDescending(boolean descending)
public Comparator<FacetValue> getComparatorForTypeAndProperty(IndexedType indexedType, IndexedProperty indexedProperty)
FacetSortProvidergetComparatorForTypeAndProperty in interface FacetSortProviderindexedType - the typeindexedProperty - the propertypublic void setComparator(Comparator<FacetValue> comparator)
Copyright © 2017 SAP SE. All Rights Reserved.