public interface IloMapIndexArray
IloTupleMap.
Here is an example:
IloOplFactory oplF = new IloOplFactory(); IloMapIndexArray indices = oplF.mapIndexArray(0); string str = "Monday"; indices.add(str); indices.add(2); tuples.get(indices, tuple);
| Modifier and Type | Method and Description |
|---|---|
void |
add(double x)
This method adds a new index of type
double to the array |
void |
add(IloTuple x)
This method adds a new index of type
tuple to the array |
void |
add(int x)
This method adds a new index of type
int to the array |
void |
add(java.lang.String x)
This method adds a new index of type
String to the array |
void |
clear()
This method removes all the elements from the invoking array.
|
int |
getSize()
This method returns an integer specifying the size of the invoking array.
|
int getSize()
void add(int x)
int to the arrayvoid add(double x)
double to the arrayvoid add(java.lang.String x)
String to the arrayvoid add(IloTuple x)
tuple to the arrayvoid clear()