|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
oracle.toplink.indirection.IndirectList
oracle.toplink.indirection.EJBIndirectList
oracle.toplink.ejb.cmp.EjbCollection
public class EjbCollection
Special EJB-friendly collection which uses EJB(Local)Object.isIdentical() instead of equals().
| Constructor Summary | |
|---|---|
EjbCollection()
Constructs an empty list with an initial capacity of ten. |
|
EjbCollection(java.util.Collection c)
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator. |
|
EjbCollection(int initialCapacity)
Constructs an empty list with the specified initial capacity. |
|
| Method Summary | |
|---|---|
int |
indexOf(java.lang.Object obj)
|
boolean |
remove(java.lang.Object obj)
|
| Methods inherited from class oracle.toplink.indirection.EJBIndirectList |
|---|
contains, containsAll, indexOf, lastIndexOf, lastIndexOf, removeElement |
| Methods inherited from class oracle.toplink.indirection.IndirectList |
|---|
add, add, addAll, addAll, addElement, capacity, clear, clone, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, insertElementAt, isEmpty, isInstantiated, iterator, lastElement, listIterator, listIterator, remove, removeAll, removeAllElements, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EjbCollection()
public EjbCollection(int initialCapacity)
initialCapacity - the initial capacity of the list.
java.lang.IllegalArgumentException - if the specified initial capacity
is negativepublic EjbCollection(java.util.Collection c)
c - the collection whose elements are to be placed into this list.
java.lang.NullPointerException - if the specified collection is null.| Method Detail |
|---|
public boolean remove(java.lang.Object obj)
remove in interface java.util.Collectionremove in interface java.util.Listremove in class EJBIndirectListVector.remove(java.lang.Object)public int indexOf(java.lang.Object obj)
indexOf in interface java.util.ListindexOf in class EJBIndirectListVector.indexOf(java.lang.Object, int)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||