Module jpastreamer.field
Interface ReferenceFieldComparator<ENTITY,V extends Comparable<? super V>>
- Type Parameters:
ENTITY- the entity typeV- the value type
- All Superinterfaces:
Comparator<ENTITY>,FieldComparator<ENTITY>
public interface ReferenceFieldComparator<ENTITY,V extends Comparable<? super V>>
extends FieldComparator<ENTITY>
A
FieldComparator that compares values of a ComparableField.- Since:
- 3.1.4
- Author:
- Per Minborg
-
Method Summary
Methods inherited from interface java.util.Comparator
compare, equals, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface com.speedment.jpastreamer.field.comparator.FieldComparator
getNullOrder, isReversed, reversed
-
Method Details
-
getField
ComparableField<ENTITY,V> getField()Gets the field that is being compared.- Specified by:
getFieldin interfaceFieldComparator<ENTITY>- Returns:
- the compared field
-