Package io.ebeaninternal.server.el
Interface ElComparator<T>
-
- All Superinterfaces:
Comparator<T>
,Serializable
- All Known Implementing Classes:
ElComparatorCompound
,ElComparatorNoop
,ElComparatorProperty
public interface ElComparator<T> extends Comparator<T>, Serializable
Comparator for use with the expression objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
compare(T o1, T o2)
Compare given 2 beans.int
compareValue(Object value, T o2)
Compare with a fixed value to a given bean.-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
int compare(T o1, T o2)
Compare given 2 beans.- Specified by:
compare
in interfaceComparator<T>
-
compareValue
int compareValue(Object value, T o2)
Compare with a fixed value to a given bean.
-
-