An OrderedCollection is the root abstract class for all ordered Collections.
@CompilerIgnore "true"
@ScalaCompilerName "k2.standard.OrderedCollection"
Method Summary | |
---|---|
Void |
addAt(Integer)
|
|
at(Integer)
|
|
elementAt(Integer)
|
Boolean |
equals(Object)
|
|
first()
|
Integer |
indexOf()
|
|
last()
|
Void |
removeAt(Integer)
|
Void addAt[(Integer)
Adds element in the OrderedCollection at rank index Raises IndexOutOfBound exception if provided index is lower than 0 or larger than the size of the OrderedCollection
@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;16491;16554"
at[(Integer)
Returns element at rank index in the OrderedCollection Raises IndexOutOfBound exception if provided index is lower than 0 or larger than the size of the OrderedCollection
@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;18032;18076"
elementAt[(Integer)
Returns the element at rank index in the OrderedCollection Raises IndexOutOfBound exception if provided index is lower than 0 or larger than the size of the OrderedCollection
@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;17013;17064"
Boolean equals[(Object)
Overrides Object.equals(Object) Returns a Boolean stating whether the provided element is equal to current OrderedCollection
@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;17566;17621"
first[()
Returns the first element in the OrderedCollection Raises an EmptyCollection exception if the OrderedCollection is empty
@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;17209;17241"
Integer indexOf[()
Returns the index of the first instance of element in the OrderedCollection or -1 if the element is not contained by the OrderedCollection
@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;17784;17835"
last[()
Returns the last element in the OrderedCollection Raises an EmptyCollection exception if the OrderedCollection is empty
@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;17384;17415"
Void removeAt[(Integer)
Removes the element at rank index from the OrderedCollection Raises IndexOutOfBound exception if provided index is lower than 0 or larger than the size of the OrderedCollection
@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;16758;16811"