package org.matheclipse.core.generic;
import org.matheclipse.core.interfaces.IExpr;
public interface ITernaryComparator {
public static enum COMPARE_RESULT {
TRUE, FALSE, UNDEFINED
};
/**
*
* - Return TRUE if the comparison is
true
* - Return FALSE if the comparison is
false
* - Return UNDEFINED if the comparison is undetermined (i.e. could not be
* evaluated)
*
*
* @param o1
* @param o2
* @return
*/
COMPARE_RESULT compare(T o1, T o2);
}
Ads help maintain this website.