public class SortedCollectionContainerPolicy extends CollectionContainerPolicy
Purpose: A SortedCollectionContainerPolicy is ContainerPolicy whose container class implements the SortedInterface interface. Added for BUG # 3233263
Responsibilities: Provide the functionality to operate on an instance of a SortedSet.
ContainerPolicy,
MapContainerPolicy,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.util.Comparator |
m_comparator |
cloneMethod, containerClass, containerClassNameconstructor, elementDescriptor| Constructor and Description |
|---|
SortedCollectionContainerPolicy()
INTERNAL:
Construct a new policy.
|
SortedCollectionContainerPolicy(java.lang.Class containerClass)
INTERNAL:
Construct a new policy for the specified class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
containerInstance()
INTERNAL
Override from ContainerPolicy.
|
java.util.Comparator |
getComparator()
INTERNAL:
Return the stored comparator
|
void |
setComparator(java.util.Comparator comparator)
INTERNAL:
Sets a comparator object for this policy to use when instantiating
a new SortedSet object.
|
addInto, buildContainerFromVector, clear, contains, getInterfaceType, hasOrder, isCollectionPolicy, isValidContainer, iteratorFor, removeFrom, sizeForcloneFor, convertClassNamesToClasses, getCloneMethod, getCloneMethod, getContainerClass, getContainerClassName, hasNext, invokeCloneMethodOn, isValidContainerType, next, setCloneMethod, setContainerClass, setContainerClassName, toStringInfoaddInto, addInto, addIntoWithOrder, addIntoWithOrder, addIntoWithOrder, buildPolicyFor, buildPolicyFor, clone, clone, compareCollectionsForChange, compareKeys, concatenateContainers, containerInstance, contains, containsKey, execute, getConstructor, getElementDescriptor, hasElementDescriptor, initializeConstructor, isCursoredStreamPolicy, isCursorPolicy, isCursorStreamPolicy, isDirectMapPolicy, isEmpty, isListPolicy, isMapPolicy, isScrollableCursorPolicy, keyFrom, mergeCascadeParts, mergeChanges, next, overridesRead, prepare, prepareForExecution, recordAddToCollectionInChangeRecord, recordRemoveFromCollectionInChangeRecord, remoteExecute, removeAllElements, removeFrom, removeFrom, removeFromWithOrder, setConstructor, setElementDescriptor, setKeyName, toString, validateElementAndRehashIfRequired, vectorForpublic SortedCollectionContainerPolicy()
public SortedCollectionContainerPolicy(java.lang.Class containerClass)
public void setComparator(java.util.Comparator comparator)
public java.util.Comparator getComparator()
public java.lang.Object containerInstance()
containerInstance in class ContainerPolicy