May 2001
Intermediate to advanced
1088 pages
30h 13m
English
The Attribute interface contains one or more values associated with an attribute name contained within a named object.
add public void add(int position, Object value) public boolean add(Object value)
Adds a new value to the list of attribute values. If you don't specify a position for the value, the value is added to the list only if there is not a duplicate value in the list. The method returns true if the value is added. If you specify a position for the value, it is added regardless of whether there is a duplication.
clear public void clear()
Removes all the values from the value list.
contains public boolean contains(Object value)
Returns true if the value list already contains the specified value.
get public Object ...
Read now
Unlock full access