Package io.ebeaninternal.server.el
Class ElComparatorNoop<T>
- java.lang.Object
-
- io.ebeaninternal.server.el.ElComparatorNoop<T>
-
- All Implemented Interfaces:
ElComparator<T>
,Serializable
,Comparator<T>
public class ElComparatorNoop<T> extends Object implements ElComparator<T>
Comparator with no operation for unsortable properties.- Author:
- Roland Praml, FOCONIS AG
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElComparatorNoop()
-
Method Summary
All Methods Instance Methods Concrete 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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
ElComparatorNoop
public ElComparatorNoop()
-
-
Method Detail
-
compare
public int compare(T o1, T o2)
Description copied from interface:ElComparator
Compare given 2 beans.- Specified by:
compare
in interfaceComparator<T>
- Specified by:
compare
in interfaceElComparator<T>
-
compareValue
public int compareValue(Object value, T o2)
Description copied from interface:ElComparator
Compare with a fixed value to a given bean.- Specified by:
compareValue
in interfaceElComparator<T>
-
-