public interface CollectionHandler
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
add(java.lang.Object collection,
java.lang.Object object) |
Add an object to the collection.
|
java.lang.Object |
clear(java.lang.Object collection) |
Clears the collection of any objects.
|
java.util.Enumeration |
elements(java.lang.Object collection) |
Returns an enumeration of all the elements in the collection.
|
int |
size(java.lang.Object collection) |
Returns the number of elements in the collection.
|
java.lang.Object add(java.lang.Object collection, java.lang.Object object) throws java.lang.ClassCastException
collection
- The collection, null if no collection has
been created yetobject
- The object to add to the collectionjava.lang.ClassCastException
- The collection handler does not
support collections of this typejava.util.Enumeration elements(java.lang.Object collection) throws java.lang.ClassCastException
collection
- The collectionjava.lang.ClassCastException
- The collection handler does not
support collections of this typeint size(java.lang.Object collection) throws java.lang.ClassCastException
collection
- The collectionjava.lang.ClassCastException
- The collection handler does not
support collections of this typejava.lang.Object clear(java.lang.Object collection) throws java.lang.ClassCastException
collection
- The collection, null if no collection has
been created yetjava.lang.ClassCastException
- The collection handler does not
support collections of this typeIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com