|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface CollectionInterface
A collection interface, for objects which store and retrieve values. The order of the values in the collection is unspecified.
| Method Summary | |
|---|---|
abstract void |
add(java.lang.Object item)
Add an item to this collection. |
abstract void |
addItems(java.util.Enumeration items)
Add all elements of an enumeration to this collection. |
abstract java.lang.Object |
clone()
Clone the object. |
abstract boolean |
remove(java.lang.Object element)
Remove an item from this collection. |
abstract void |
removeAll()
Remove all items from this collection |
abstract int |
removeAll(java.lang.Object element)
Remove an all occurrences of an item from this collection. |
| Methods inherited from interface com.sas.collection.StaticCollectionInterface |
|---|
apply, contains |
| Methods inherited from interface com.sas.collection.ContentsChangedSource |
|---|
addContentsChangedListener, removeContentsChangedListener |
| Methods inherited from interface com.sas.beans.PropertyChangeSource |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface com.sas.util.Countable |
|---|
count |
| Methods inherited from interface com.sas.util.Enumerable |
|---|
getItems |
| Method Detail |
|---|
void add(java.lang.Object item)
item - an object to add to this collection.
java.lang.ClassCastException - In some implementations,
the objects that are stored may be restricted to a particular
type (such as String). (a RuntimeException)void addItems(java.util.Enumeration items)
items - an Enumeration of items to add to this collection
java.lang.ClassCastException - In some implementations,
the objects that are stored may be restricted to a particular
type (such as String). (a RuntimeException)boolean remove(java.lang.Object element)
element - the item to remove
java.lang.ClassCastException - In some implementations,
the objects that are stored may be restricted to a particular
type (such as String). (a RuntimeException)void removeAll()
int removeAll(java.lang.Object element)
element - the item to remove
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface com.sas.PublicClonableclone in interface StaticCollectionInterfacejava.lang.CloneNotSupportedException - if the object could not be cloned.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||