io.ebeaninternal.server.el.ElComparator Maven / Gradle / Ivy
package io.ebeaninternal.server.el;
import java.io.Serializable;
import java.util.Comparator;
/**
* Comparator for use with the expression objects.
*/
public interface ElComparator extends Comparator, Serializable {
/**
* Compare given 2 beans.
*/
@Override
int compare(T o1, T o2);
/**
* Compare with a fixed value to a given bean.
*/
int compareValue(Object value, T o2);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy