public interface IloTupleSet
extends ilog.concert.IloDiscreteDataCollection
| Modifier and Type | Method and Description |
|---|---|
IloTuple |
find(IloTupleBuffer buffer)
This method checks whether a given
IloTupleBuffer object is in the collection. |
int |
getIndex(IloTuple tuple)
This member function checks whether a given
IloTuple is in the collection. |
java.lang.String |
getName()
This method returns the name of the tupleset
|
IloTupleSchema |
getSchema()
This method returns the schema of the tupleset.
|
int |
getSize()
This method returns the number of lines in the tupleset.
|
boolean |
isIn(IloTupleBuffer buffer)
This method checks whether a given
IloTupleBuffer object is in the collection. |
java.util.Iterator |
iterator()
Returns an iterator on the
IloTupleSet. |
IloTuple |
makeFirst()
Creates the first tuple.
|
IloTuple |
makeLast()
Creates the last tuple.
|
IloTuple |
makeTuple(int index)
This method returns an indexed tuple.
|
IloTupleBuffer |
makeTupleBuffer(int index)
This method edits the tuple to modify it or to create a new tuple.
|
IloTupleSchema getSchema()
java.lang.String getName()
IloTuple makeTuple(int index)
index - The index of the tuple you want to point to.IloTupleBuffer makeTupleBuffer(int index)
index - The index of the tuple you want to edit; (index == -1) adds a new line.int getSize()
java.util.Iterator iterator()
IloTupleSet.IloTuple makeFirst()
IloTuple makeLast()
boolean isIn(IloTupleBuffer buffer)
IloTupleBuffer object is in the collection.
You can give the whole values or only the key values.buffer - The buffer you want to check.IloTuple find(IloTupleBuffer buffer)
IloTupleBuffer object is in the collection.
It returns a new tuple if the buffer exists in the collection.buffer - The buffer you want to check.int getIndex(IloTuple tuple)
IloTuple is in the collection.
It returns the index if the tuple exists or -1 if the tuple does not exist in the index.
You can give the whole values or only the key values in a buffer instance of the tuple,
or a tuple from another collection.tuple - The tuple you want to check.