public class IndirectListContainerPolicy extends InterfaceContainerPolicy
ContainerPolicy,
Serialized FormcloneMethod, containerClass, containerClassNameconstructor, elementDescriptor| Constructor and Description |
|---|
IndirectListContainerPolicy()
INTERNAL:
Construct a new policy.
|
IndirectListContainerPolicy(java.lang.Class containerClass)
INTERNAL:
Construct a new policy for the specified class.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addInto(java.lang.Object key,
java.lang.Object element,
java.lang.Object container)
INTERNAL:
Add element into the container.
|
void |
addIntoWithOrder(java.util.Vector indexes,
java.util.Hashtable elements,
java.lang.Object container)
INTERNAL:
Add element into a container which implements the Collection interface.
|
void |
clear(java.lang.Object container)
INTERNAL:
Remove all the elements from container.
|
protected boolean |
contains(java.lang.Object element,
java.lang.Object container)
INTERNAL:
Return the true if element exists in container.
|
java.lang.Class |
getInterfaceType() |
boolean |
hasNext(java.lang.Object iterator)
INTERNAL:
Return whether the iterator has more objects,
|
boolean |
hasOrder()
INTERNAL:
Returns true if the collection has order
|
java.lang.Object |
iteratorFor(java.lang.Object container)
INTERNAL:
Return an Iterator for the given container.
|
protected java.lang.Object |
next(java.lang.Object iterator)
INTERNAL:
Return the next object on the queue.
|
protected boolean |
removeFrom(java.lang.Object key,
java.lang.Object element,
java.lang.Object container)
INTERNAL:
Remove element from container which implements the Collection interface.
|
void |
removeFromWithOrder(int beginIndex,
java.lang.Object container)
INTERNAL:
Remove elements from this container starting with this index
|
int |
sizeFor(java.lang.Object container)
INTERNAL:
Return the size of container.
|
cloneFor, convertClassNamesToClasses, getCloneMethod, getCloneMethod, getContainerClass, getContainerClassName, invokeCloneMethodOn, isValidContainerType, setCloneMethod, setContainerClass, setContainerClassName, toStringInfoaddInto, addInto, addIntoWithOrder, addIntoWithOrder, addIntoWithOrder, buildContainerFromVector, buildPolicyFor, buildPolicyFor, clone, clone, compareCollectionsForChange, compareKeys, concatenateContainers, containerInstance, containerInstance, contains, containsKey, execute, getConstructor, getElementDescriptor, hasElementDescriptor, initializeConstructor, isCollectionPolicy, isCursoredStreamPolicy, isCursorPolicy, isCursorStreamPolicy, isDirectMapPolicy, isEmpty, isListPolicy, isMapPolicy, isScrollableCursorPolicy, isValidContainer, keyFrom, mergeCascadeParts, mergeChanges, next, overridesRead, prepare, prepareForExecution, recordAddToCollectionInChangeRecord, recordRemoveFromCollectionInChangeRecord, remoteExecute, removeAllElements, removeFrom, removeFrom, setConstructor, setElementDescriptor, setKeyName, toString, validateElementAndRehashIfRequired, vectorForpublic IndirectListContainerPolicy()
public IndirectListContainerPolicy(java.lang.Class containerClass)
containerClass - java.lang.Classprotected boolean addInto(java.lang.Object key,
java.lang.Object element,
java.lang.Object container)
addInto in class ContainerPolicyelement - java.lang.Objectcontainer - java.lang.Objectpublic void addIntoWithOrder(java.util.Vector indexes,
java.util.Hashtable elements,
java.lang.Object container)
element - java.lang.Objectcontainer - java.lang.Objectpublic void clear(java.lang.Object container)
clear in class ContainerPolicycontainer - java.lang.Objectprotected boolean contains(java.lang.Object element,
java.lang.Object container)
contains in class ContainerPolicyelement - java.lang.Objectcontainer - java.lang.Objectpublic java.lang.Class getInterfaceType()
getInterfaceType in class InterfaceContainerPolicypublic boolean hasNext(java.lang.Object iterator)
hasNext in class InterfaceContainerPolicyiterator - java.lang.ObjectContainerPolicy.iteratorFor(java.lang.Object)public boolean hasOrder()
hasOrder in class ContainerPolicyContainerPolicy.iteratorFor(java.lang.Object)public java.lang.Object iteratorFor(java.lang.Object container)
iteratorFor in class ContainerPolicycontainer - java.lang.ObjectContainerPolicy.hasNext(java.lang.Object),
ContainerPolicy.next(java.lang.Object)protected java.lang.Object next(java.lang.Object iterator)
next in class InterfaceContainerPolicyiterator - java.lang.ObjectContainerPolicy.iteratorFor(java.lang.Object)protected boolean removeFrom(java.lang.Object key,
java.lang.Object element,
java.lang.Object container)
removeFrom in class ContainerPolicyelement - java.lang.Objectcontainer - java.lang.Objectpublic void removeFromWithOrder(int beginIndex,
java.lang.Object container)
removeFromWithOrder in class ContainerPolicybeginIndex - int the point to start deleting values from the collectioncontainer - java.lang.Object#ListContainerPolicypublic int sizeFor(java.lang.Object container)
sizeFor in class ContainerPolicyanObject - java.lang.Object