/*
* CycleListList.java 2004-11-05
*
* Dirk Ansorge, FernUniversitaet Hagen
*
*/
package twodsack.util;
/**
* This interface provides only one single method, namely {@link #compare(ComparableMSE)}. MSE is short for
* MultiSetElement. Each data type that shall be used together with a MultiSet
* must implement this interface.
*/
public interface ComparableMSE {
/**
* Defines an order on all data types that implement this interface.
* If properly implemented, returns 0 if this and in are equal,
* -1 if this is smaller than in and 1 otherwise.
*
* @param in the instance this shall be compared with in
* @return one of {0,-1,1} as int
*/
public int compare(ComparableMSE in);
}