|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.emf.ecore.impl.FlatEObjectImpl org.eclipse.emf.ecore.impl.EModelElementImpl org.eclipse.emf.ecore.impl.ENamedElementImpl org.eclipse.emf.ecore.impl.EClassifierImpl org.eclipse.emf.ecore.impl.EDataTypeImpl org.eclipse.emf.ocl.types.impl.CollectionTypeImpl
Nested Class Summary |
---|
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
static java.lang.String |
copyright
|
protected org.eclipse.emf.ecore.EClassifier |
elementType
The cached value of the ' Element Type ' reference |
protected static int |
END_POSITION_EDEFAULT
The default value of the ' End Position ' attribute |
protected int |
endPosition
The cached value of the ' End Position ' attribute |
protected static CollectionKind |
KIND_EDEFAULT
The default value of the ' Kind ' attribute |
static BagType |
OCL_BAG
|
static CollectionType |
OCL_COLLECTION
|
static OrderedSetType |
OCL_ORDERED_SET
|
static SequenceType |
OCL_SEQUENCE
|
static SetType |
OCL_SET
|
protected static int |
START_POSITION_EDEFAULT
The default value of the ' Start Position ' attribute |
protected int |
startPosition
The cached value of the ' Start Position ' attribute |
protected static int |
TYPE_END_POSITION_EDEFAULT
The default value of the ' Type End Position ' attribute |
protected static int |
TYPE_START_POSITION_EDEFAULT
The default value of the ' Type Start Position ' attribute |
protected int |
typeEndPosition
The cached value of the ' Type End Position ' attribute |
protected int |
typeStartPosition
The cached value of the ' Type Start Position ' attribute |
Fields inherited from class org.eclipse.emf.ecore.impl.EDataTypeImpl |
---|
defaultValue, defaultValueIsSet, SERIALIZABLE_EDEFAULT, SERIALIZABLE_EFLAG |
Fields inherited from class org.eclipse.emf.ecore.impl.EClassifierImpl |
---|
DEFAULT_VALUE_EDEFAULT, eClassifierExtendedMetaData, generatedInstanceClassName, INSTANCE_CLASS_EDEFAULT, INSTANCE_CLASS_NAME_EDEFAULT, instanceClass, instanceClassName, metaObjectID |
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
---|
name, NAME_EDEFAULT |
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
---|
eContents, eCrossReferences, eProxyURI |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
CollectionTypeImpl()
|
protected |
CollectionTypeImpl(org.eclipse.emf.ecore.EClassifier elementType)
|
Method Summary | |
---|---|
static java.util.Collection |
append(java.util.Collection c,
java.lang.Object o)
Appends the supplied object to the supplied ordered collection |
static java.util.Collection |
asBag(java.util.Collection c)
Returns the supplied collection as a Bag |
static java.util.Collection |
asOrderedSet(java.util.Collection c)
Returns the supplied collection as an OrderedSet |
static java.util.Collection |
asSequence(java.util.Collection c)
Returns the supplied collection as a Sequence |
static java.util.Collection |
asSet(java.util.Collection c)
Returns the supplied collection as a Set |
static java.lang.Object |
at(java.util.Collection c,
int i)
Returns the object at the supplied position of the supplied ordered collection |
org.eclipse.emf.ecore.EClassifier |
basicGetElementType()
|
static CollectionKind |
commonSuperType(CollectionKind kind1,
CollectionKind kind2)
|
static int |
count(java.util.Collection c,
java.lang.Object o)
|
protected static org.eclipse.emf.common.util.EList |
createIterators()
|
static java.util.Collection |
createNewBag()
Creates a new bag |
static java.util.Collection |
createNewBag(java.util.Collection c)
Creates a new bag with initial collection supplied |
static java.util.Collection |
createNewOrderedSet()
Creates a new java ordered set |
static java.util.Collection |
createNewOrderedSet(java.util.Collection c)
Creates a new ordered set with initial collection supplied |
static java.util.Collection |
createNewSequence()
Creates a new sequence |
static java.util.Collection |
createNewSequence(java.util.Collection c)
Creates a new sequence with initial collection supplied |
static java.util.Collection |
createNewSet()
Creates a new java set |
static java.util.Collection |
createNewSet(java.util.Collection c)
Creates a new java set with initial collection supplied |
protected static org.eclipse.emf.common.util.EList |
createOperations()
Initialiaze Operations defined on AnyType |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class baseClass)
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class baseClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
static boolean |
equals(java.util.Collection c1,
java.util.Collection c2)
Computes the equivalence of two collections, accounting for the equivalence of primitive numeric values that OCL considers equal but Java does not. |
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
static boolean |
excludes(java.util.Collection c,
java.lang.Object o)
|
static boolean |
excludesAll(java.util.Collection c1,
java.util.Collection c2)
|
static java.util.Collection |
excluding(java.util.Collection c,
java.lang.Object o)
Returns all but the supplied element from the supplied collection. |
static java.lang.Object |
first(java.util.Collection c)
Returns the first element of the supplied ordered collection if the ordered collection is not empty, null otherwise. |
static java.util.Collection |
flatten(java.util.Collection c)
Flattens a collection by taking the union of each of its constituent collections, if they are a collection type, or just returns the supplied collection if they are not. |
org.eclipse.emf.ecore.EClassifier |
getCommonSupertype(org.eclipse.emf.ecore.EClassifier type)
|
org.eclipse.emf.ecore.EClassifier |
getElementType()
|
int |
getEndPosition()
|
org.eclipse.emf.common.util.EList |
getIterators()
|
CollectionKind |
getKind()
|
java.lang.String |
getName()
|
int |
getOperationCodeFor(java.lang.String oper)
Returns the operation code from an operation name. |
java.lang.String |
getOperationNameFor(int opcode)
Returns the String name of an operation. |
org.eclipse.emf.common.util.EList |
getOperations()
Get the list of operations supported by OCL Collection Types |
static int |
getRelationship(CollectionKind kind1,
CollectionKind kind2)
|
int |
getRelationshipTo(org.eclipse.emf.ecore.EClassifier type)
|
org.eclipse.emf.ecore.EClassifier |
getResultTypeFor(org.eclipse.emf.ecore.EClassifier ownerType,
int opcode,
org.eclipse.emf.common.util.EList args)
Obtain the result type on a collection type operation. |
int |
getStartPosition()
|
int |
getTypeEndPosition()
|
int |
getTypeStartPosition()
|
static int |
hashCode(java.util.Collection c)
Computes the hash of a collection, accounting for the similar hashing of primitive numeric values that OCL considers equal but Java does not. |
static boolean |
includes(java.util.Collection c,
java.lang.Object o)
|
static boolean |
includesAll(java.util.Collection c1,
java.util.Collection c2)
|
static java.util.Collection |
including(java.util.Collection c,
java.lang.Object element)
Returns the supplied collection with the supplied element added |
static java.lang.Integer |
indexOf(java.util.Collection c,
java.lang.Object o)
Returns the index in the supplied collection of the supplied object or null if the object is not in the collection. |
static java.util.Collection |
insertAt(java.util.Collection c,
int oclIndex,
java.lang.Object o)
Inserts the supplied object at the supplied position of the supplied ordered collection Note: OCL is 1-indexed! |
static java.util.Collection |
intersection(java.util.Collection c1,
java.util.Collection c2)
Returns the collection containing just those elements that are in both the supplied collections. |
static boolean |
isEmpty(java.util.Collection c)
|
static java.lang.Object |
last(java.util.Collection c)
Returns the last element of the supplied collection if the collection is not empty, null otherwise. |
static java.util.Set |
minus(java.util.Set s1,
java.util.Set s2)
Returns all the elements in the first supplied set that are not in the second supplied set. |
static boolean |
notEmpty(java.util.Collection c)
|
static java.util.Collection |
prepend(java.util.Collection c,
java.lang.Object o)
Prepends the supplied object to the supplied ordered collection |
static java.util.Set |
product(java.util.Collection c1,
java.util.Collection c2,
org.eclipse.emf.ecore.EClass resultType)
Computes the product of two collections, returning a set of tuples of the resulting type. |
void |
setElementType(org.eclipse.emf.ecore.EClassifier newElementType)
|
void |
setEndPosition(int newEndPosition)
|
void |
setStartPosition(int newStartPosition)
|
void |
setTypeEndPosition(int newTypeEndPosition)
|
void |
setTypeStartPosition(int newTypeStartPosition)
|
static int |
size(java.util.Set s)
|
static java.util.Collection |
subOrderedSet(java.util.Collection c,
int oclLower,
int oclUpper)
Returns the subset of the supplied ordered collection whose elements have indices between the supplied lower and upper bounds (inclusive). |
static java.util.Collection |
subSequence(java.util.Collection c,
int oclLower,
int oclUpper)
Returns the subsequence of the supplied ordered collection whose elements have indices between the supplied lower and upper bounds (inclusive). |
static java.lang.Object |
sum(java.util.Collection c)
|
static java.util.Set |
symmetricDifference(java.util.Set s1,
java.util.Set s2)
Returns the set of all elements in one or the other of the supplied sets that are not in their intersection. |
java.lang.String |
toString()
|
static java.util.Collection |
union(java.util.Collection c1,
java.util.Collection c2)
Returns the collection containing all elements from both supplied collections |
Methods inherited from class org.eclipse.emf.ecore.impl.EDataTypeImpl |
---|
getDefaultValue, isSerializable, setDataTypeGeneratedInstanceClass, setGeneratedInstanceClass, setInstanceClassGen, setSerializable |
Methods inherited from class org.eclipse.emf.ecore.impl.EClassifierImpl |
---|
basicGetEPackage, dynamicIsInstance, eBasicRemoveFromContainerFeature, eBasicSetContainer, eInverseAdd, eInverseRemove, getClassForName, getClassifierID, getEPackage, getEPackageGen, getExtendedMetaData, getInstanceClass, getInstanceClassGen, getInstanceClassName, getInstanceClassNameGen, getPrimitiveOrArrayClass, isInstance, setClassifierID, setExtendedMetaData, setInstanceClass, setInstanceClassName, setInstanceClassNameGen |
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
---|
getNameGen, setName |
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
---|
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EDataType |
---|
isSerializable, setSerializable |
Methods inherited from interface org.eclipse.emf.ecore.EClassifier |
---|
getClassifierID, getDefaultValue, getEPackage, getInstanceClass, getInstanceClassName, isInstance, setInstanceClass, setInstanceClassName |
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
---|
setName |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
public static final java.lang.String copyright
protected static final int START_POSITION_EDEFAULT
Start Position
' attribute.
CollectionTypeImpl.getStartPosition()
,
Constant Field Valuesprotected int startPosition
Start Position
' attribute.
CollectionTypeImpl.getStartPosition()
protected static final int END_POSITION_EDEFAULT
End Position
' attribute.
CollectionTypeImpl.getEndPosition()
,
Constant Field Valuesprotected int endPosition
End Position
' attribute.
CollectionTypeImpl.getEndPosition()
protected static final int TYPE_START_POSITION_EDEFAULT
Type Start Position
' attribute.
CollectionTypeImpl.getTypeStartPosition()
,
Constant Field Valuesprotected int typeStartPosition
Type Start Position
' attribute.
CollectionTypeImpl.getTypeStartPosition()
protected static final int TYPE_END_POSITION_EDEFAULT
Type End Position
' attribute.
CollectionTypeImpl.getTypeEndPosition()
,
Constant Field Valuesprotected int typeEndPosition
Type End Position
' attribute.
CollectionTypeImpl.getTypeEndPosition()
public static SequenceType OCL_SEQUENCE
public static SetType OCL_SET
public static OrderedSetType OCL_ORDERED_SET
public static BagType OCL_BAG
public static CollectionType OCL_COLLECTION
protected org.eclipse.emf.ecore.EClassifier elementType
Element Type
' reference.
CollectionTypeImpl.getElementType()
protected static final CollectionKind KIND_EDEFAULT
Kind
' attribute.
CollectionTypeImpl.getKind()
Constructor Detail |
protected CollectionTypeImpl()
protected CollectionTypeImpl(org.eclipse.emf.ecore.EClassifier elementType)
Method Detail |
public int getOperationCodeFor(java.lang.String oper)
getOperationCodeFor
in interface PredefinedType
oper
-
public java.lang.String getOperationNameFor(int opcode)
getOperationNameFor
in interface PredefinedType
opcode
-
protected static org.eclipse.emf.common.util.EList createOperations()
protected static org.eclipse.emf.common.util.EList createIterators()
public org.eclipse.emf.common.util.EList getOperations()
CollectionType
getOperations
in interface CollectionType
public org.eclipse.emf.common.util.EList getIterators()
public java.lang.String getName()
getName
in interface org.eclipse.emf.ecore.ENamedElement
public org.eclipse.emf.ecore.EClassifier getResultTypeFor(org.eclipse.emf.ecore.EClassifier ownerType, int opcode, org.eclipse.emf.common.util.EList args) throws SemanticException
getResultTypeFor
in interface PredefinedType
opcode
- args
-
SemanticException
public int getRelationshipTo(org.eclipse.emf.ecore.EClassifier type)
getRelationshipTo
in interface PredefinedType
public org.eclipse.emf.ecore.EClassifier getCommonSupertype(org.eclipse.emf.ecore.EClassifier type) throws SemanticException
getCommonSupertype
in interface PredefinedType
SemanticException
public static CollectionKind commonSuperType(CollectionKind kind1, CollectionKind kind2)
public static int getRelationship(CollectionKind kind1, CollectionKind kind2)
protected org.eclipse.emf.ecore.EClass eStaticClass()
public int getStartPosition()
getStartPosition
in interface ASTNode
ASTNode.setStartPosition(int)
,
UtilitiesPackage.getASTNode_StartPosition()
public void setStartPosition(int newStartPosition)
setStartPosition
in interface ASTNode
newStartPosition
- the new value of the 'Start Position' attribute.ASTNode.getStartPosition()
public int getEndPosition()
getEndPosition
in interface ASTNode
ASTNode.setEndPosition(int)
,
UtilitiesPackage.getASTNode_EndPosition()
public void setEndPosition(int newEndPosition)
setEndPosition
in interface ASTNode
newEndPosition
- the new value of the 'End Position' attribute.ASTNode.getEndPosition()
public int getTypeStartPosition()
getTypeStartPosition
in interface TypedASTNode
TypedASTNode.setTypeStartPosition(int)
,
UtilitiesPackage.getTypedASTNode_TypeStartPosition()
public void setTypeStartPosition(int newTypeStartPosition)
setTypeStartPosition
in interface TypedASTNode
newTypeStartPosition
- the new value of the 'Type Start Position' attribute.TypedASTNode.getTypeStartPosition()
public int getTypeEndPosition()
getTypeEndPosition
in interface TypedASTNode
TypedASTNode.setTypeEndPosition(int)
,
UtilitiesPackage.getTypedASTNode_TypeEndPosition()
public void setTypeEndPosition(int newTypeEndPosition)
setTypeEndPosition
in interface TypedASTNode
newTypeEndPosition
- the new value of the 'Type End Position' attribute.TypedASTNode.getTypeEndPosition()
public org.eclipse.emf.ecore.EClassifier getElementType()
getElementType
in interface CollectionType
public org.eclipse.emf.ecore.EClassifier basicGetElementType()
public void setElementType(org.eclipse.emf.ecore.EClassifier newElementType)
setElementType
in interface CollectionType
newElementType
- the new value of the 'Element Type' reference.CollectionType.getElementType()
public CollectionKind getKind()
getKind
in interface CollectionType
CollectionKind
,
TypesPackage.getCollectionType_Kind()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
public java.lang.String toString()
public static int size(java.util.Set s)
public static boolean includes(java.util.Collection c, java.lang.Object o)
public static boolean excludes(java.util.Collection c, java.lang.Object o)
public static int count(java.util.Collection c, java.lang.Object o)
public static boolean includesAll(java.util.Collection c1, java.util.Collection c2)
public static boolean excludesAll(java.util.Collection c1, java.util.Collection c2)
public static boolean isEmpty(java.util.Collection c)
public static boolean notEmpty(java.util.Collection c)
public static java.lang.Object sum(java.util.Collection c)
public static boolean equals(java.util.Collection c1, java.util.Collection c2)
c1
- a collectionc2
- another collection
public static int hashCode(java.util.Collection c)
c
- a collection
public static java.util.Collection intersection(java.util.Collection c1, java.util.Collection c2)
c1
- the collection.c2
- the other collection.
public static java.util.Collection union(java.util.Collection c1, java.util.Collection c2)
c1
- one collection.c2
- the other collection.
public static java.util.Collection flatten(java.util.Collection c)
c
- the collection to flatten
public static java.util.Set minus(java.util.Set s1, java.util.Set s2)
s1
- the first set.s2
- the second set.
public static java.util.Collection excluding(java.util.Collection c, java.lang.Object o)
c
- the collectiono
- the element
public static java.util.Set symmetricDifference(java.util.Set s1, java.util.Set s2)
s1
- one sets2
- the other set
public static java.util.Collection including(java.util.Collection c, java.lang.Object element)
c
- the collectionelement
- the element
public static java.util.Collection asSet(java.util.Collection c)
c
- the collection
public static java.util.Collection asBag(java.util.Collection c)
c
- the collection
public static java.util.Collection asSequence(java.util.Collection c)
c
- the collection
public static java.util.Collection asOrderedSet(java.util.Collection c)
c
- the collection
public static java.util.Set product(java.util.Collection c1, java.util.Collection c2, org.eclipse.emf.ecore.EClass resultType)
c1
- a collectionc2
- another collectionresultType
- the resulting tuple type
public static java.util.Collection append(java.util.Collection c, java.lang.Object o)
c
- the collectiono
- the object
public static java.util.Collection prepend(java.util.Collection c, java.lang.Object o)
c
- the collectiono
- the object
public static java.util.Collection insertAt(java.util.Collection c, int oclIndex, java.lang.Object o)
Note: OCL is 1-indexed!
c
- the collection.oclIndex
- the position to insert at.o
- the object to insert.
public static java.util.Collection subOrderedSet(java.util.Collection c, int oclLower, int oclUpper)
c
- the collectionoclLower
- the lower bound.oclUpper
- the upper bound.
public static java.util.Collection subSequence(java.util.Collection c, int oclLower, int oclUpper)
c
- the collectionoclLower
- the lower bound.oclUpper
- the upper bound.
public static java.lang.Object at(java.util.Collection c, int i)
c
- the collectioni
- the position.
public static java.lang.Object first(java.util.Collection c)
c
- the collection
public static java.lang.Object last(java.util.Collection c)
c
- the collection
public static java.lang.Integer indexOf(java.util.Collection c, java.lang.Object o)
c
- the collection.o
- the object.
public static java.util.Collection createNewSet()
public static java.util.Collection createNewSet(java.util.Collection c)
public static java.util.Collection createNewBag()
public static java.util.Collection createNewBag(java.util.Collection c)
public static java.util.Collection createNewOrderedSet()
public static java.util.Collection createNewOrderedSet(java.util.Collection c)
public static java.util.Collection createNewSequence()
public static java.util.Collection createNewSequence(java.util.Collection c)
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |