| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public void | |
| public Object | |
| public Object | containerInstance(int initialCapacity)
INTERNAL: Return an instance of the container class with the specified initial capacity. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public boolean | removeFrom(Object element, Object container, ABSTRACT_SESSION session)
INTERNAL: Remove the object from the collection. |
| public void | |
| public int | |
| public Vector |
| addInto | back to summary |
|---|---|
| public boolean addInto(Object element, Object container, ABSTRACT_SESSION session) INTERNAL: Add element to container. This is used to add to a collection independent of JDK 1.1 and 1.2. The session may be required to wrap for the wrapper policy. Return whether the container changed | |
| addInto | back to summary |
|---|---|
| public boolean addInto(Object key, Object element, Object container, ABSTRACT_SESSION session) INTERNAL: Add element to container. This is used to add to a collection independent of type. The session may be required to wrap for the wrapper policy. Return whether the container changed. | |
| clear | back to summary |
|---|---|
| public void clear(Object container) INTERNAL: Remove all the elements from the specified container. Valid only for certain subclasses. | |
| containerInstance | back to summary |
|---|---|
| public Object containerInstance() INTERNAL: Return an instance of the container class. Null should never be returned. A ValidationException is thrown on error. | |
| containerInstance | back to summary |
|---|---|
| public Object containerInstance(int initialCapacity) INTERNAL: Return an instance of the container class with the specified initial capacity. Null should never be returned. A ValidationException is thrown on error. | |
| contains | back to summary |
|---|---|
| public boolean contains(Object element, Object container, ABSTRACT_SESSION session) INTERNAL: Check if the object is contained in the collection. This is used to check contains in a collection independent of JDK 1.1 and 1.2. The session may be required to unwrap for the wrapper policy. | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext(Object iterator) INTERNAL: Return whether the iterator has more objects. The iterator is the one returned from #iteratorFor(). Valid for some subclasses only.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty(Object container) INTERNAL: Return whether the container is empty. | |
| isListPolicy | back to summary |
|---|---|
| public boolean isListPolicy() | |
| iteratorFor | back to summary |
|---|---|
| public Object iteratorFor(Object container) INTERNAL: Return an iterator for the given container. This iterator can then be used as a parameter to #hasNext() and #next(). | |
| next | back to summary |
|---|---|
| public Object next(Object iterator, ABSTRACT_SESSION session) INTERNAL: Return the next object from the iterator. This is used to stream over a collection independent of JDK 1.1 and 1.2. The session may be required to unwrap for the wrapper policy. | |
| nextEntry | back to summary |
|---|---|
| public Object nextEntry(Object iterator) INTERNAL: Return the next object on the queue. The iterator is the one returned from #iteratorFor(). In the case of a Map, this will return a MapEntry to allow use of the key | |
| nextEntry | back to summary |
|---|---|
| public Object nextEntry(Object iterator, ABSTRACT_SESSION session) INTERNAL: Return the next object on the queue. The iterator is the one returned from #iteratorFor(). In the case of a Map, this will return a MapEntry to allow use of the key | |
| removeFrom | back to summary |
|---|---|
| public boolean removeFrom(Object element, Object container, ABSTRACT_SESSION session) INTERNAL: Remove the object from the collection. This is used to remove from a collection independent of JDK 1.1 and 1.2. The session may be required to unwrap for the wrapper policy. | |
| setContainerClass | back to summary |
|---|---|
| public void setContainerClass(Class<?> containerClass) INTERNAL: Set the class used for the container. | |
| sizeFor | back to summary |
|---|---|
| public int sizeFor(Object container) INTERNAL: Return the size of container. | |
| vectorFor | back to summary |
|---|---|
| public Vector INTERNAL: Return a Vector populated with the contents of container. Added for bug 2766379, must implement a version of vectorFor that handles wrapped objects. | |