public final class LiteralComparatorFactory extends Object
Modifier and Type | Method and Description |
---|---|
static AggregationComparator |
getComparator(EnumLiteralType literalType)
Returns a new instance of comparator best suitable for the given literal type.
|
static AggregationComparator |
getReverseComparator(EnumLiteralType literalType)
Returns a new instance of comparator best suitable for the given literal type which sorts in the reverse order.
|
public static AggregationComparator getComparator(EnumLiteralType literalType)
literalType
- a literal typepublic static AggregationComparator getReverseComparator(EnumLiteralType literalType)
literalType
- a literal typeCopyright © 2013. All Rights Reserved.