mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
24 lines
427 B
Java
24 lines
427 B
Java
package io.ebeaninternal.server.el;
|
|
|
|
/**
|
|
* Comparator with no operation for unsortable properties.
|
|
*
|
|
* @author Roland Praml, FOCONIS AG
|
|
*
|
|
*/
|
|
public class ElComparatorNoop<T> implements ElComparator<T> {
|
|
|
|
private static final long serialVersionUID = -9060871822183687180L;
|
|
|
|
@Override
|
|
public int compare(T o1, T o2) {
|
|
return 0;
|
|
}
|
|
|
|
@Override
|
|
public int compareValue(Object value, T o2) {
|
|
return 0;
|
|
}
|
|
|
|
}
|