All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.el.ElComparator Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
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