|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.infolayer.util.AbstractOclCollection
immutable(!) collections of objects
| Field Summary |
| Fields inherited from interface org.infolayer.util.OclCollection |
BAG, COLLECTION, names, ORDERED_SET, SEQUENCE, SET |
| Method Summary | |
OclCollection |
append(java.lang.Object o)
|
OclCollection |
asBag()
|
OclCollection |
asSequence()
|
OclCollection |
asSet()
|
java.lang.Object |
at(long pos)
Returns the n-th element of the collection. |
OclCollection |
collectNested(OclExpression expr)
|
long |
count(java.lang.Object object)
The number of times that object occurs in this collection |
OclCollection |
difference(OclCollection par)
|
boolean |
equals(java.lang.Object o)
|
boolean |
excludes(java.lang.Object object)
|
boolean |
excludesAll(OclCollection collection)
|
OclCollection |
excluding(java.lang.Object par)
|
java.lang.Object |
first()
|
OclCollection |
flatten()
|
int |
getCollectionType()
|
UmlClassifier |
getElementType()
|
OclCollection |
getSealed()
|
UmlClassifier |
getType()
Returns the Uml type of this object |
boolean |
includes(java.lang.Object object)
|
boolean |
includesAll(OclCollection collection)
|
OclCollection |
including(java.lang.Object o)
|
long |
indexOf(java.lang.Object o)
|
OclCollection |
insertAt(long index,
java.lang.Object o)
|
OclCollection |
intersection(OclCollection c2)
|
boolean |
isEmpty()
|
boolean |
isSealed()
|
abstract java.util.Iterator |
iterator()
|
java.lang.Object |
last()
|
java.lang.Object |
max()
|
java.lang.Object |
min()
|
boolean |
notEmpty()
|
OclCollection |
prepend(java.lang.Object o)
|
OclCollection |
reverse()
|
OclCollection |
select(int permission)
|
OclCollection |
select(OclExpression filter)
|
long |
size()
Returns the number of elements contained in this collection |
OclCollection |
sortedBy(OclExpression orderBy)
|
OclCollection |
subSequence(long lower,
long upper)
|
java.lang.Object |
sum()
|
OclCollection |
symmetricDifference(OclCollection par)
|
java.lang.String |
toOclLiteral()
|
java.lang.String |
toString()
|
OclCollection |
union(OclCollection c2)
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public long size()
OclCollection
size in interface OclCollectionpublic java.lang.Object at(long pos)
OclCollection
at in interface OclCollectionpos - The index position of the desired element
public long count(java.lang.Object object)
OclCollection
count in interface OclCollectionpublic boolean includes(java.lang.Object object)
includes in interface OclCollectionpublic OclCollection reverse()
reverse in interface OclCollectionpublic long indexOf(java.lang.Object o)
indexOf in interface OclCollectionpublic UmlClassifier getElementType()
getElementType in interface OclCollectionpublic int getCollectionType()
getCollectionType in interface OclCollectionpublic java.lang.String toString()
public boolean equals(java.lang.Object o)
public UmlClassifier getType()
Typed
getType in interface Typedpublic OclCollection select(OclExpression filter)
select in interface OclCollectionpublic OclCollection select(int permission)
select in interface OclCollectionpublic OclCollection sortedBy(OclExpression orderBy)
sortedBy in interface OclCollectionpublic abstract java.util.Iterator iterator()
iterator in interface OclCollectionpublic boolean excludes(java.lang.Object object)
excludes in interface OclCollectionpublic boolean includesAll(OclCollection collection)
includesAll in interface OclCollectionpublic boolean excludesAll(OclCollection collection)
excludesAll in interface OclCollectionpublic boolean isEmpty()
isEmpty in interface OclCollectionpublic boolean notEmpty()
notEmpty in interface OclCollectionpublic java.lang.Object sum()
sum in interface OclCollectionpublic OclCollection union(OclCollection c2)
union in interface OclCollectionpublic OclCollection intersection(OclCollection c2)
intersection in interface OclCollectionpublic OclCollection difference(OclCollection par)
difference in interface OclCollectionpublic OclCollection including(java.lang.Object o)
including in interface OclCollectionpublic OclCollection excluding(java.lang.Object par)
excluding in interface OclCollectionpublic OclCollection symmetricDifference(OclCollection par)
symmetricDifference in interface OclCollectionpublic OclCollection flatten()
flatten in interface OclCollectionpublic OclCollection asSet()
asSet in interface OclCollectionpublic OclCollection asSequence()
asSequence in interface OclCollectionpublic OclCollection asBag()
asBag in interface OclCollectionpublic OclCollection append(java.lang.Object o)
append in interface OclCollectionpublic OclCollection prepend(java.lang.Object o)
prepend in interface OclCollection
public OclCollection insertAt(long index,
java.lang.Object o)
insertAt in interface OclCollection
public OclCollection subSequence(long lower,
long upper)
subSequence in interface OclCollectionpublic java.lang.Object max()
max in interface OclCollectionpublic java.lang.Object min()
min in interface OclCollectionpublic java.lang.Object first()
first in interface OclCollectionpublic java.lang.Object last()
last in interface OclCollectionpublic java.lang.String toOclLiteral()
toOclLiteral in interface Typedpublic OclCollection collectNested(OclExpression expr)
collectNested in interface OclCollectionpublic boolean isSealed()
isSealed in interface OclCollectionpublic OclCollection getSealed()
getSealed in interface OclCollection
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||