ENTITY
- entity typeD
- database type@GeneratedCode(value="Speedment") public interface IntFieldComparator<ENTITY,D> extends FieldComparator<ENTITY>
FieldComparator
that compares values of a HasIntValue
.Modifier and Type | Method and Description |
---|---|
HasIntValue<ENTITY,D> |
getField()
Gets the field that is being compared.
|
IntFieldComparator<ENTITY,D> |
reversed()
Returns a new
FieldComparator that order entities in the opposite
orders compared to this comparator. |
getNullOrder, isReversed
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
HasIntValue<ENTITY,D> getField()
getField
in interface FieldComparator<ENTITY>
IntFieldComparator<ENTITY,D> reversed()
FieldComparator
FieldComparator
that order entities in the opposite
orders compared to this comparator. For an example, if this comparator
orders entities based on a column 'firstname' in descending order, then
the returned FieldComparator
will be ordering entities based on
'firstname' in ascending order.reversed
in interface Comparator<ENTITY>
reversed
in interface FieldComparator<ENTITY>
Copyright © 2018 Speedment, Inc.. All rights reserved.