#DOCUMENTATION
authorClaus Gittinger <cg@exept.de>
Fri, 25 Mar 2016 17:08:25 +0100
changeset 19460 8ebcf83b9b81
parent 19459 3bcd4f73da62
child 19461 7a4d28b76572
#DOCUMENTATION class: SequenceableCollection comment/format in:8 methods
SequenceableCollection.st
--- a/SequenceableCollection.st	Fri Mar 25 17:07:10 2016 +0100
+++ b/SequenceableCollection.st	Fri Mar 25 17:08:25 2016 +0100
@@ -393,12 +393,11 @@
 isAbstract
     "Return if this class is an abstract class.
      True is returned for SequenceableCollection here; false for subclasses.
-     Abstract subclasses must redefine again."
+     Abstract subclasses must redefine this again."
 
     ^ self == SequenceableCollection
 ! !
 
-
 !SequenceableCollection methodsFor:'Compatibility-Squeak'!
 
 allButFirst
@@ -4136,7 +4135,7 @@
 
 copyToMax:stop
     "return a new collection consisting of receiver's elements
-     from 1 up to (including) index stop, or up to the receivers end,
+     from 1 up to (including) index stop, or up to the receiver's end,
      whichever is smaller (i.e. like copyTo:, but do not err if receiver is smaller"
 
     ^ self copyFrom:1 to:(self size min:stop)
@@ -4533,7 +4532,7 @@
     "return a new collection with newElement inserted after index.
      With a 0 index, newElement is prepended;  
      if index is my size, it is appended.
-     The recevier remains unchanged"
+     The receiver remains unchanged"
 
     ^ ((self copyTo:index) copyWith:newElement),(self copyFrom:index+1).
 
@@ -4549,7 +4548,7 @@
     "return a new collection with newElement inserted after index.
      With a 0 index, newElement is prepended;  
      if index is my size, it is appended.
-     The recevier remains unchanged"
+     The receiver remains unchanged"
 
     ^ self copyWith:newElement insertedAfterIndex:index-1
 
@@ -4566,7 +4565,7 @@
     "return a new collection with aCollection sliced in after index.
      With a 0 index, aString is prepended;  
      if index is my size, it is appended.
-     The recevier remains unchanged"
+     The receiver remains unchanged"
 
     "/ tuning only;
     "/ the code below would work as well (but create a garbage copy of the receiver)
@@ -4587,7 +4586,7 @@
     "return a new collection with aCollection sliced in before index.
      With a 1 index, aString is prepended;  
      if index is my size+1, it is appended.
-     The recevier remains unchanged"
+     The receiver remains unchanged"
 
     ^ self copyWithAll:aCollection insertedAfterIndex:index-1
 
@@ -4848,7 +4847,8 @@
 !
 
 trimForWhich:aCheckBlock
-    "return a copy of myself without leading and trailing elements for which aCheckBlock returns true.
+    "return a copy of myself without leading and trailing elements,
+     for which aCheckBlock returns true.
      Normally, this is mostly used with string receivers."
 
     |startIndex "{ Class: SmallInteger }"
@@ -6907,7 +6907,7 @@
 !
 
 paddedTo:newSize with:padElement
-    "return a new collection consisting of the receivers elements,
+    "return a new collection consisting of the receiver's elements,
      plus pad elements up to length.
      If the receiver's size is equal or greater than the length argument,
      the original receiver is returned unchanged."
@@ -7783,7 +7783,6 @@
     "Created: 14.2.1997 / 16:13:03 / cg"
 ! !
 
-
 !SequenceableCollection methodsFor:'searching'!
 
 detect:aBlock startingAt:startIndex