Enum Constant and Description |
---|
Double
Double precision floating point numbers (stored on 64 bits) in IEEE 754 binary floating point representation.
|
Expression
LSExpressions are the variables and the expressions of the mathematical model defined by the LSP program
or directly in the LocalSolver API.
|
Function
Function of the modeler.
|
Int
Integers are positive and negative integral numbers stored on 64 bits.
|
Map
Maps are data structure matching some values to some keys.
|
Module
A module is a collection of global variables.
|
Nil
Nil is the equivalent of null in Java.
|
Other
Any other value used in the modeler but not exposed in this API (dates, files or streams for example).
|
String
A string is an immutable sequence of unicode characters.
|
Modifier and Type | Method and Description |
---|---|
static LSPType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LSPType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LSPType Nil
public static final LSPType Int
public static final LSPType Double
public static final LSPType String
public static final LSPType Expression
public static final LSPType Function
public static final LSPType Map
public static final LSPType Module
public static final LSPType Other
public static LSPType[] values()
for (LSPType c : LSPType.values()) System.out.println(c);
public static LSPType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null