|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.sourceforge.gxl.GXLElement
|
+--net.sourceforge.gxl.GXLValue
|
+--net.sourceforge.gxl.GXLCompositeValue
|
+--net.sourceforge.gxl.GXLSet
Represents the GXL set element.
The set element is a composite value element to describe a set, unordered and without duplicates.
That being said, it is up to the application to ensure that no duplicates exist and treat the values unorderly.
Note that the set element requires all it's value elements to be of the same value type (that is, it must be
a set of ints or a set of strings etc).
Children
GXLValue - a set can contain zero or more values
Attributes
The set element may not contain any attributes.
GXLValue| Constructor Summary | |
GXLSet()
Creates a new (empty) GXLSet element. |
|
| Method Summary | |
boolean |
contains(GXLValue element)
Returns whether this set contains the specified element. |
boolean |
equals(Object o)
Compares this set to another object. |
| Methods inherited from class net.sourceforge.gxl.GXLCompositeValue |
getValueAt, getValueCount |
| Methods inherited from class net.sourceforge.gxl.GXLElement |
add, getAttribute, getChildAt, getChildCount, getDocument, getParent, indexOf, insert, remove, setAttribute |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GXLSet()
GXLSet element.
| Method Detail |
public boolean contains(GXLValue element)
getChildAt(int i) method.
element - The element to search for.
GXLElement.getChildAt(int)public boolean equals(Object o)
equals in class Objecto - The other object to compare this to.
ClassCastException - If the compared object is not an instance of GXLSet.contains(GXLValue)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||