org.infolayer.util
Class SingleOclCollection

java.lang.Object
  extended byorg.infolayer.util.AbstractOclCollection
      extended byorg.infolayer.util.SingleOclCollection
All Implemented Interfaces:
OclCollection, Typed

public class SingleOclCollection
extends AbstractOclCollection

Author:
haustein To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 
Fields inherited from interface org.infolayer.util.OclCollection
BAG, COLLECTION, names, ORDERED_SET, SEQUENCE, SET
 
Constructor Summary
SingleOclCollection(int collectionType, UmlClassifier elementType, java.lang.Object content)
           
 
Method Summary
 java.util.Iterator iterator()
           
 long size()
          Returns the number of elements contained in this collection
 
Methods inherited from class org.infolayer.util.AbstractOclCollection
append, asBag, asSequence, asSet, at, collectNested, count, difference, equals, excludes, excludesAll, excluding, first, flatten, getCollectionType, getElementType, getSealed, getType, includes, includesAll, including, indexOf, insertAt, intersection, isEmpty, isSealed, last, max, min, notEmpty, prepend, reverse, select, select, sortedBy, subSequence, sum, symmetricDifference, toOclLiteral, toString, union
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleOclCollection

public SingleOclCollection(int collectionType,
                           UmlClassifier elementType,
                           java.lang.Object content)
Parameters:
collectionType -
elementType -
Method Detail

size

public long size()
Description copied from interface: OclCollection
Returns the number of elements contained in this collection

Specified by:
size in interface OclCollection
Overrides:
size in class AbstractOclCollection

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface OclCollection
Specified by:
iterator in class AbstractOclCollection