Methods Summary |
---|
public void | add(java.lang.Object o) addElement( o );
|
public void | addElement(java.lang.Object o)
// see if its already in. If not,
// add at end.
if ( isIn( o ) ) return;
// now add, extending if necessary.
if ( setData == null ){
setData = new Vector( ninitial );
}
setData.addElement( o );
|
public void | deleteAllElements()
setData = null;
|
public java.util.Enumeration | elements()
return (setData==null)?EmptyEnumeration.instance:setData.elements();
|
public boolean | isIn(java.lang.Object o)
return (setData==null)?false:setData.contains( o );
|
public int | size() return (setData==null)?0:setData.size();
|