public interface CoreContainerPolicy<ABSTRACT_SESSION extends CoreAbstractSession>
Modifier and Type | Method and Description |
---|---|
boolean |
addInto(Object element,
Object container,
ABSTRACT_SESSION session)
INTERNAL:
Add element to container.
|
boolean |
addInto(Object key,
Object element,
Object container,
ABSTRACT_SESSION session)
INTERNAL:
Add element to container.
|
void |
clear(Object container)
INTERNAL:
Remove all the elements from the specified container.
|
Object |
containerInstance()
INTERNAL:
Return an instance of the container class.
|
Object |
containerInstance(int initialCapacity)
INTERNAL:
Return an instance of the container class with the specified initial capacity.
|
boolean |
contains(Object element,
Object container,
ABSTRACT_SESSION session)
INTERNAL:
Check if the object is contained in the collection.
|
boolean |
hasNext(Object iterator)
INTERNAL:
Return whether the iterator has more objects.
|
boolean |
isEmpty(Object container)
INTERNAL:
Return whether the container is empty.
|
boolean |
isListPolicy() |
Object |
iteratorFor(Object container)
INTERNAL:
Return an iterator for the given container.
|
Object |
next(Object iterator,
ABSTRACT_SESSION session)
INTERNAL:
Return the next object from the iterator.
|
Object |
nextEntry(Object iterator)
INTERNAL:
Return the next object on the queue.
|
Object |
nextEntry(Object iterator,
ABSTRACT_SESSION session)
INTERNAL:
Return the next object on the queue.
|
boolean |
removeFrom(Object element,
Object container,
ABSTRACT_SESSION session)
INTERNAL:
Remove the object from the collection.
|
void |
setContainerClass(Class containerClass)
INTERNAL:
Set the class used for the container.
|
int |
sizeFor(Object container)
INTERNAL:
Return the size of container.
|
Vector |
vectorFor(Object container,
ABSTRACT_SESSION session)
INTERNAL:
Return a Vector populated with the contents of container.
|
boolean addInto(Object element, Object container, ABSTRACT_SESSION session)
boolean addInto(Object key, Object element, Object container, ABSTRACT_SESSION session)
void clear(Object container)
Object containerInstance()
boolean contains(Object element, Object container, ABSTRACT_SESSION session)
boolean hasNext(Object iterator)
ContainerPolicy#iteratorFor(java.lang.Object)
boolean isEmpty(Object container)
boolean isListPolicy()
Object iteratorFor(Object container)
ContainerPolicy#hasNext(java.lang.Object)
,
ContainerPolicy#next(java.lang.Object)
Object next(Object iterator, ABSTRACT_SESSION session)
Object nextEntry(Object iterator)
ContainerPolicy#iteratorFor(java.lang.Object)
,
MapContainerPolicy.unwrapIteratorResult(Object object)
Object nextEntry(Object iterator, ABSTRACT_SESSION session)
ContainerPolicy#iteratorFor(Object iterator, AbstractSession session)
,
MapContainerPolicy.unwrapIteratorResult(Object object)
boolean removeFrom(Object element, Object container, ABSTRACT_SESSION session)
void setContainerClass(Class containerClass)
int sizeFor(Object container)
Vector vectorFor(Object container, ABSTRACT_SESSION session)
Object containerInstance(int initialCapacity)
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference