mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-31 16:16:44 +00:00
#919 - io.ebean package initial
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package io.ebeaninternal.server.el;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
/**
|
||||
* Comparator for use with the expression objects.
|
||||
*/
|
||||
public interface ElComparator<T> extends Comparator<T> {
|
||||
|
||||
/**
|
||||
* Compare given 2 beans.
|
||||
*/
|
||||
int compare(T o1, T o2);
|
||||
|
||||
/**
|
||||
* Compare with a fixed value to a given bean.
|
||||
*/
|
||||
int compareValue(Object value, T o2);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user