| |
|
| java.lang.Object org.objectweb.jonas_ejb.container.jorm.GenClassImpl org.objectweb.jonas_ejb.container.jorm.Collection
Collection | public class Collection extends GenClassImpl implements java.util.Collection(Code) | | This class is a basic implementation of the java.util.Collection based on the
generic class implementation (GenClassImpl). This class can be used to
represent a relation between bean.
author: S.Chassande-Barrioz : Initial developer author: Helene Joanin : fix bugs in the toArray(...) methods |
Collection | public Collection()(Code) | | |
addAll | public boolean addAll(java.util.Collection collection)(Code) | | It iterates over the collection parameter to add each element in the
collection.
|
clear | public void clear()(Code) | | It removes all elements.
|
createPIndexedElem | public PIndexedElem createPIndexedElem()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
remove | public boolean remove(Object o, boolean callListener)(Code) | | |
removeAll | public boolean removeAll(java.util.Collection collection)(Code) | | It iterates over the collection parameter to remove each element in the
collection.
|
retainAll | public boolean retainAll(java.util.Collection collection)(Code) | | For each element of the current collection, it checks if it exist into
the collection parameter. If it does not found then it is removed from
the current collection.
|
toArray | public Object[] toArray()(Code) | | It returns an array of the elements.
array of the elements |
toArray | public Object[] toArray(Object[] objects)(Code) | | It returns an array of the elements.
It is built by an iteration over the existing elements.
Parameters: objects - the array into which the elements of this collection are to be stored array of the elements |
|
|
|