|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjopt.csp.util.LongUtil
Long type utility functions
Constructor Summary | |
LongUtil()
|
Method Summary | |
static long |
getMax(CspNumExpr expr)
Returns maximum value of a numeric expression as a long type |
static long |
getMax(VariableSolution sol)
Returns maximum value of a numeric expression as a double type |
static long |
getMin(CspNumExpr expr)
Returns minimum value of a numeric expression as a long type |
static long |
getMin(VariableSolution sol)
Returns minimum value of a numeric expression as a double type |
static int |
intValue(long val)
Returns equivalent integer value for a given long value. |
static boolean |
isIntEquivalent(long val)
Returns true if value is equivalent to an integer value |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LongUtil()
Method Detail |
public static boolean isIntEquivalent(long val)
public static int intValue(long val)
public static long getMin(CspNumExpr expr)
public static long getMax(CspNumExpr expr)
public static long getMin(VariableSolution sol)
public static long getMax(VariableSolution sol)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |