public class IndirectListContainerPolicy extends InterfaceContainerPolicy
ContainerPolicy,
Serialized FormcloneMethod, containerClass, containerClassNameconstructor, elementDescriptor| Constructor and Description |
|---|
IndirectListContainerPolicy()
INTERNAL:
Construct a new policy.
|
IndirectListContainerPolicy(Class containerClass)
INTERNAL:
Construct a new policy for the specified class.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addInto(Object key,
Object element,
Object container)
INTERNAL:
Add element into the container.
|
void |
addIntoWithOrder(Vector indexes,
Hashtable elements,
Object container)
INTERNAL:
Add element into a container which implements the Collection interface.
|
void |
clear(Object container)
INTERNAL:
Remove all the elements from container.
|
protected boolean |
contains(Object element,
Object container)
INTERNAL:
Return the true if element exists in container.
|
Class |
getInterfaceType() |
boolean |
hasNext(Object iterator)
INTERNAL:
Return whether the iterator has more objects,
|
boolean |
hasOrder()
INTERNAL:
Returns true if the collection has order
|
Object |
iteratorFor(Object container)
INTERNAL:
Return an Iterator for the given container.
|
protected Object |
next(Object iterator)
INTERNAL:
Return the next object on the queue.
|
protected boolean |
removeFrom(Object key,
Object element,
Object container)
INTERNAL:
Remove element from container which implements the Collection interface.
|
void |
removeFromWithOrder(int beginIndex,
Object container)
INTERNAL:
Remove elements from this container starting with this index
|
int |
sizeFor(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(Class containerClass)
containerClass - java.lang.Classprotected boolean addInto(Object key, Object element, Object container)
addInto in class ContainerPolicyelement - java.lang.Objectcontainer - java.lang.Objectpublic void addIntoWithOrder(Vector indexes, Hashtable elements, Object container)
element - java.lang.Objectcontainer - java.lang.Objectpublic void clear(Object container)
clear in class ContainerPolicycontainer - java.lang.Objectprotected boolean contains(Object element, Object container)
contains in class ContainerPolicyelement - java.lang.Objectcontainer - java.lang.Objectpublic Class getInterfaceType()
getInterfaceType in class InterfaceContainerPolicypublic boolean hasNext(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 Object iteratorFor(Object container)
iteratorFor in class ContainerPolicycontainer - java.lang.ObjectContainerPolicy.hasNext(java.lang.Object),
ContainerPolicy.next(java.lang.Object)protected Object next(Object iterator)
next in class InterfaceContainerPolicyiterator - java.lang.ObjectContainerPolicy.iteratorFor(java.lang.Object)protected boolean removeFrom(Object key, Object element, Object container)
removeFrom in class ContainerPolicyelement - java.lang.Objectcontainer - java.lang.Objectpublic void removeFromWithOrder(int beginIndex,
Object container)
removeFromWithOrder in class ContainerPolicybeginIndex - int the point to start deleting values from the collectioncontainer - java.lang.Object#ListContainerPolicypublic int sizeFor(Object container)
sizeFor in class ContainerPolicyanObject - java.lang.ObjectCopyright © 2025. All rights reserved.