An OrderedSet is a Set that contained ordered distinct elements
@CompilerIgnore "true"
@ScalaCompilerName "k2.standard.OrderedSet"
Method Summary | |
---|---|
Void |
addAt(Integer)
|
OrderedSet[G] |
append()
|
Boolean |
equals(Object)
|
OrderedSet[G] |
insertAt(Integer)
|
OrderedSet[G] |
prepend()
|
OrderedSet[G] |
subSet(IntegerInteger)
|
Void addAt[(Integer)
Overrides 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;18481;18544".addAt(Integer, G) Adds element in the OrderedSet at rank index if the ordered set does not already contain the element, does nothing otherwise
OrderedSet[G] append[()
Builds and returns a new OrderedSet from current one with element inserted in tail if not already present, otherwise returns a copy of the current 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;19232;19289"
Boolean equals[(Object)
See 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;18604;18659".equals(Object)
OrderedSet[G] insertAt[(Integer)
Builds and returns a new OrderedSet from current one with element inserted at rank index if it not already present, otherwise returns a copy of the current OrderedSet 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;19845;19921"
OrderedSet[G] prepend[()
Builds and returns a new OrderedSet from current one with element inserted in head if not already present, otherwise returns a copy of the current 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;19475;19533"
OrderedSet[G] subSet[(IntegerInteger)
Builds and returns a new OrderedSet composed of elements of current ordered set from rank min (included) to rank max (excluded). The order is preserved. Raises IndexOutOfBound exception if min is negative, max is larger than the size of the ordered set 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;18974;19047"