|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.skill.constraint.ccl.variable.Tuple
A tuple specifies sets of allowed combinations.
An example of a Tuple range would be:
(Savoy, London)
The values held in a Tuple may only be Strings.
Hence integers must be represented as follows: "1".
Constructor Summary | |
Tuple()
Constructs an empty Tuple. |
|
Tuple(java.lang.String str)
Constructs a new Tuple and populates it with the values passed in the String. |
|
Tuple(java.util.Vector v)
Constructs a new Tuple and populates it with the values passed in the Vector. |
Method Summary | |
void |
addValue(java.lang.String str)
Adds another Value to the tuple. |
Tuple |
copy()
Returns an exact copy of this Tuple object. |
java.util.Enumeration |
elements()
Returns an Enumeration of the elements held in this Tuple. |
static void |
main(java.lang.String[] args)
Used to test the class. |
java.lang.String |
toString()
Returns a String representation of this Tuple. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Tuple()
public Tuple(java.lang.String str)
public Tuple(java.util.Vector v)
Method Detail |
public void addValue(java.lang.String str)
public Tuple copy()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Enumeration elements()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |