ENTITY
- the entity typeV
- the value typepublic interface FieldComparator<ENTITY,V extends Comparable<? super V>> extends Comparator<ENTITY>
Comparator
that contains meta data information about
the field that is being compared.Modifier and Type | Method and Description |
---|---|
HasComparableOperators<ENTITY,V> |
getField()
Returns the field that created this comparator.
|
boolean |
isReversed()
Returns
true if this comparator reverses the natural order of the
values in the current field. |
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
HasComparableOperators<ENTITY,V> getField()
boolean isReversed()
true
if this comparator reverses the natural order of the
values in the current field. A reversed order descends from high values
to low.true
if reversed (descending), else false
Copyright © 2017 Speedment, Inc.. All rights reserved.