A Sequence is an OrderedCollection of elements allowing duplicates
@CompilerIgnore "true"
@ScalaCompilerName "k2.standard.Sequence"
Method Summary | |
---|---|
Sequence[G] |
append()
|
Boolean |
equals(Object)
|
Sequence[G] |
insertAt(Integer)
|
Sequence[G] |
prepend()
|
Sequence[G] |
subSequence(IntegerInteger)
|
Sequence[G] append[()
Builds and returns a new Sequence from current one with element inserted in tail
@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;21128;21183"
Boolean equals[(Object)
Overrides OrderedCollection[G].equals(Object) Returns a Boolean stating whether the provided element is equal to current Sequence
@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;20284;20339"
Sequence[G] insertAt[(Integer)
Builds and returns a new Sequence from current one with element inserted at rank index Raises IndexOutOfBound exception if provided index is lower than 0 or larger than the size of the OrderedSet
@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;20951;21024"
Sequence[G] prepend[()
Builds and returns a new Sequence from current one with element inserted in head
@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;21287;21343"
Sequence[G] subSequence[(IntegerInteger)
Builds and returns a new Sequence composed of elements of current sequence from rank min (included) to rank max (excluded). The order is respected. Raises IndexOutOfBound exception if min is negative, max is larger than the size of the sequence or min is larger than max
@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;20647;20723"