public class LSExternalContext
extends java.lang.Object
LSExpression.getExternalContext()| Modifier and Type | Method and Description |
|---|---|
double |
getDoubleLowerBound()
Gets the lower bound of the external function.
|
double |
getDoubleUpperBound()
Gets the upper bound of the external function.
|
long |
getIntLowerBound()
Gets the lower bound of the external function.
|
long |
getIntUpperBound()
Gets the upper bound of the external function.
|
boolean |
isNanable()
Returns true if the function can return a NaN value.
|
void |
setDoubleLowerBound(double lowerBound)
Sets the lower bound of the external function.
|
void |
setDoubleUpperBound(double upperBound)
Sets the upper bound of the external function.
|
void |
setIntLowerBound(long lowerBound)
Sets the lower bound of the external function.
|
void |
setIntUpperBound(long upperBound)
Sets the upper bound of the external function.
|
void |
setLowerBound(double lowerBound)
Sets the lower bound of the external function.
|
void |
setLowerBound(long lowerBound)
Sets the lower bound of the external function.
|
void |
setNanable(boolean nanable)
Sets whether or not the function can return a NaN value.
|
void |
setUpperBound(double upperBound)
Sets the upper bound of the external function.
|
void |
setUpperBound(long upperBound)
Sets the upper bound of the external function.
|
public void setLowerBound(long lowerBound)
LSState.Modeling.
This method has the same behaviour as setIntLowerBound(long)lowerBound - Lower bound of the function.public void setLowerBound(double lowerBound)
LSState.Modeling.
This method has the same behaviour as setDoubleLowerBound(double)lowerBound - Lower bound of the function.public void setUpperBound(long upperBound)
LSState.Modeling.
This method has the same behaviour as setIntUpperBound(long)upperBound - Upper bound of the function.public void setUpperBound(double upperBound)
LSState.Modeling.
This method has the same behaviour as setDoubleUpperBound(double)upperBound - Upper bound of the function.public long getIntLowerBound()
Long.MIN_VALUE + 1.public void setIntLowerBound(long lowerBound)
LSState.Modeling.lowerBound - Lower bound of the function.public long getIntUpperBound()
Long.MAX_VALUE.public void setIntUpperBound(long upperBound)
LSState.Modeling.upperBound - Upper bound of the function.public double getDoubleLowerBound()
Double.NEGATIVE_INFINITY.public void setDoubleLowerBound(double lowerBound)
LSState.Modeling.lowerBound - Lower bound of the function.public double getDoubleUpperBound()
Double.POSITIVE_INFINITY.public void setDoubleUpperBound(double upperBound)
LSState.Modeling.upperBound - Upper bound of the function.public boolean isNanable()
public void setNanable(boolean nanable)
LSState.Modeling.nanable - True if the function can return a NaN value, false otherwise.