ro.isdc.wro.util.Ordered Maven / Gradle / Ivy
package ro.isdc.wro.util;
import java.util.Comparator;
/**
* Classes implementing this interface signal to the classes that load them that order is significant.
*
* @author Moandji Ezana
* @created 9 Jan 2013
* @since 1.6.2
*/
public interface Ordered {
/**
* The highest order, meaning that the value will be the last when ascending comparator is used.
*/
public static final int HIGHEST = Integer.MAX_VALUE;
public static final int MEDIUM = 0;
/**
* The highest order, meaning that the value will be the first when ascending comparator is used.
*/
public static final int LOWEST = Integer.MIN_VALUE;
public static final Comparator