Class Solver.IntegerCastInfo
- java.lang.Object
-
- com.google.ortools.constraintsolver.Solver.IntegerCastInfo
-
- Enclosing class:
- Solver
public static class Solver.IntegerCastInfo extends java.lang.ObjectHolds semantic information stating that the 'expression' has been
cast into 'variable' using the Var() method, and that
'maintainer' is responsible for maintaining the equality between
'variable' and 'expression'.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description IntegerCastInfo()protectedIntegerCastInfo(long cPtr, boolean cMemoryOwn)IntegerCastInfo(IntVar v, IntExpr e, Constraint c)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(Solver.IntegerCastInfo obj)IntExprgetExpression()ConstraintgetMaintainer()IntVargetVariable()voidsetExpression(IntExpr value)voidsetMaintainer(Constraint value)voidsetVariable(IntVar value)protected static longswigRelease(Solver.IntegerCastInfo obj)
-
-
-
Constructor Detail
-
IntegerCastInfo
protected IntegerCastInfo(long cPtr, boolean cMemoryOwn)
-
IntegerCastInfo
public IntegerCastInfo()
-
IntegerCastInfo
public IntegerCastInfo(IntVar v, IntExpr e, Constraint c)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(Solver.IntegerCastInfo obj)
-
swigRelease
protected static long swigRelease(Solver.IntegerCastInfo obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
delete
public void delete()
-
setVariable
public void setVariable(IntVar value)
-
getVariable
public IntVar getVariable()
-
setExpression
public void setExpression(IntExpr value)
-
getExpression
public IntExpr getExpression()
-
setMaintainer
public void setMaintainer(Constraint value)
-
getMaintainer
public Constraint getMaintainer()
-
-