|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.mapping.loader.collection.handler.EnumerateCollectionHandler<T>
public final class EnumerateCollectionHandler<T>
| Constructor Summary | |
|---|---|
EnumerateCollectionHandler()
|
|
| Method Summary | |
|---|---|
Object |
add(Object collection,
T object)
Add an object to the collection. |
Object |
clear(Object collection)
Clears the collection of any objects. |
Enumeration<T> |
elements(Object collection)
Returns an enumeration of all the elements in the collection. |
int |
size(Object collection)
Returns the number of elements in the collection. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerateCollectionHandler()
| Method Detail |
|---|
public Object add(Object collection,
T object)
CollectionHandler
add in interface CollectionHandler<T>collection - The collection, null if no collection has been created yetobject - The object to add to the collection
public Enumeration<T> elements(Object collection)
CollectionHandler
elements in interface CollectionHandler<T>collection - The collection
public int size(Object collection)
CollectionHandler
size in interface CollectionHandler<T>collection - The collection
public Object clear(Object collection)
CollectionHandler
clear in interface CollectionHandler<T>collection - The collection, null if no collection has been created yet
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||