public class LinearTerm extends Object implements Serializable, Cloneable, Term
Constructor and Description |
---|
LinearTerm(double coefficient,
Variable var) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object obj) |
double |
getCoefficient() |
String |
getVarName() |
int |
hashCode() |
String |
toString() |
LinearTerm |
typedClone() |
public LinearTerm(double coefficient, Variable var)
public double getCoefficient()
getCoefficient
in interface Term
public String getVarName()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public LinearTerm typedClone()
Copyright © 2017. All rights reserved.