SequenceableCollection.st
changeset 22031 21444527f05b
parent 22012 64abfbe90ada
child 22056 f868bb1ba9a8
--- a/SequenceableCollection.st	Mon Jul 17 12:21:52 2017 +0200
+++ b/SequenceableCollection.st	Mon Jul 17 12:24:17 2017 +0200
@@ -432,6 +432,7 @@
     ^ self == SequenceableCollection
 ! !
 
+
 !SequenceableCollection methodsFor:'Compatibility-Squeak'!
 
 allButFirst
@@ -744,6 +745,7 @@
     ^ self replaceFrom:start to:stop with:anArray startingAt:repStart
 ! !
 
+
 !SequenceableCollection methodsFor:'accessing'!
 
 after:anObject
@@ -1162,6 +1164,16 @@
     self at:index2 put:t
 
     "Modified: 15.10.1997 / 19:27:08 / cg"
+!
+
+swapIndex:i1 and:i2
+    "spap element at i1 and i2"
+
+    <resource: #obsolete>
+
+    self swap:i1 with:i2
+
+    "Created: / 17-07-2017 / 10:35:19 / cg"
 ! !
 
 !SequenceableCollection methodsFor:'adding & removing'!
@@ -7102,6 +7114,7 @@
     "Created: 14.2.1997 / 16:13:03 / cg"
 ! !
 
+
 !SequenceableCollection methodsFor:'searching'!
 
 detect:aBlock startingAt:startIndex