public class LSNativeContext
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
int |
count()
Returns the number of values in the current context.
|
boolean |
equals(java.lang.Object obj) |
double |
getDoubleValue(int pos)
Returns the double value at the given position.
|
long |
getIntValue(int pos)
Returns the integer value at the given position.
|
LocalSolver |
getLocalSolver()
Returns the LocalSolver object associated to this context.
|
int |
hashCode() |
boolean |
isBool(int pos)
Returns true if the value at the given position is a boolean.
|
boolean |
isDouble(int pos)
Returns true if the value at the given position is a double.
|
boolean |
isInt(int pos)
Returns true if the value at the given position is an integer.
|
public LocalSolver getLocalSolver()
public boolean isBool(int pos)
getIntValue(int).pos - Position of the value to query.public boolean isInt(int pos)
getIntValue(int).pos - Position of the value to query.public boolean isDouble(int pos)
getDoubleValue(int).pos - Position of the value to query.public long getIntValue(int pos)
pos - Position of the value to query.public double getDoubleValue(int pos)
pos - Position of the value to query.public int count()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object