Diff of /docs/branches/4.1/trunk/rexxref/collclasses.xml [r9259] .. [r9260] Maximize Restore

  Switch to side-by-side view

--- a/docs/branches/4.1/trunk/rexxref/collclasses.xml
+++ b/docs/branches/4.1/trunk/rexxref/collclasses.xml
@@ -196,7 +196,7 @@
 </programlisting>
 
 <para>Add an item to the collection at the specified index.  This is an abstract
-method that must be implemented by a subclasses.
+method that must be implemented by a subclass.
 </para>
 </section>
 
@@ -213,7 +213,7 @@
 </programlisting>
 
 <para>Return an array of all indexes used by this collection.  This is an
-abstract method that must be implemented by a subclasses.
+abstract method that must be implemented by a subclass.
 </para>
 </section>
 
@@ -230,7 +230,7 @@
 </programlisting>
 
 <para>Return an array containing all items stored in the collection.
-This is an abstract method that must be implemented by a subclasses.</para>
+This is an abstract method that must be implemented by a subclass.</para>
 </section>
 
 <section id="mthCollectionAt"><title>at</title>
@@ -253,7 +253,7 @@
 with the specified <emphasis role="italic">index</emphasis> or
 <emphasis role="italic">index</emphasis>es, this method returns the
 Nil object.
-This is an abstract method that must be implemented by a subclasses.</para>
+This is an abstract method that must be implemented by a subclass.</para>
 </section>
 
 <section id="mthCollectionDifference"><title>difference</title>
@@ -466,7 +466,7 @@
 in the receiver collection and the method has not already included an item
 with the same index. The order in which this method selects items in
 <emphasis role="italic">argument</emphasis> is unspecified (the program
-should not rely on any order.). The
+should not rely on any order). The
 <emphasis role="italic">argument</emphasis> can be any
 collection class object. The
 <emphasis role="italic">argument</emphasis> must also allow all of the
@@ -531,7 +531,7 @@
 >>-putAll(collection)------------------------------------------><
 ]]>
 </programlisting>
-<para>Adds all items <emphasis role="italic">collection</emphasis> to the target directory.  The
+<para>Adds all items in <emphasis role="italic">collection</emphasis> to the target directory.  The
 <emphasis role="italic">collection</emphasis> argument can be any object that supports a supplier
 method.  Items from <emphasis role="italic">collection</emphasis> are added using the index values returned by the supplier.  The item
 indexes from the source <emphasis role="italic">collection</emphasis> must be strings.  The items are
@@ -579,7 +579,7 @@
 
 <section id="mthOrderedCollectionAppend"><title>append</title>
 <indexterm><primary>append method</primary>
-<secondary>of OrederedCollection class</secondary></indexterm>
+<secondary>of OrderedCollection class</secondary></indexterm>
 <indexterm><primary>method</primary>
 <secondary>append method</secondary>
 <tertiary>of OrderedCollection class</tertiary></indexterm>
@@ -690,7 +690,7 @@
 in the receiver collection and the method has not already included. The order in
 which this method selects items in
 <emphasis role="italic">argument</emphasis> is unspecified (the program
-should not rely on any order.). The
+should not rely on any order). The
 <emphasis role="italic">argument</emphasis> can be any
 collection class object.
 </para>
@@ -816,7 +816,7 @@
 <para> Returns a new empty array. If you specify
 any <emphasis role="italic">size</emphasis> arguments,
 the size is taken as a hint about how big each dimension
-should be. The Array classes uses this only to allocate the initial array
+should be. The Array class uses this only to allocate the initial array
 object.  For multiple dimension arrays, you can also specify how much
 space is to be allocated initially for each dimension of the array.
 </para>
@@ -1724,7 +1724,7 @@
 directions=.array~of("North","South", ,"West")
 do i=1 to 4                                  /* Produces: North          */
   say directions[i]                          /*           South          */
-                                             /*           The Nil object */
+                                             /*           The NIL object */
 end                                          /*           West           */
 </programlisting>
 
@@ -1851,7 +1851,6 @@
 </programlisting>
 
 <para>Returns a new Bag containing only those items from the receiver that the
-the
 <emphasis role="italic">argument</emphasis> collection
 does not contain. The <emphasis role="italic">argument</emphasis> can be any
 collection class object.
@@ -1892,7 +1891,7 @@
 </programlisting>
 
 <para>Returns a new Bag containing only those items from the receiver that are
-in also in the
+also in the
 <emphasis role="italic">argument</emphasis> collection. The <emphasis
 role="italic">argument</emphasis> can be any collection class object.</para>
 </section>
@@ -2171,7 +2170,7 @@
 </varlistentry>
 <varlistentry><term>Lifo</term>
 <listitem>
-<para>Last-in, first-out order (stacklike).
+<para>Last-in, first-out order (stack-like).
 </para>
 </listitem>
 </varlistentry>
@@ -2201,21 +2200,18 @@
 </para>
 
 <para>
-If the circular queue is full, than the last item stored in the circular queue
+If the circular queue is full, then the last item stored in the circular queue
 will be deleted, before the insertion takes place. In this case the
 <emphasis role="italic">deleted item</emphasis> will be returned, otherwise
 <emphasis role="italic">.nil</emphasis>.
 </para>
 
 <para>
-If <emphasis role="italic">option</emphasis> is specified, it may be "Normal" or
-"Unique".  The default is "Normal".  Only the first letter of the option
-capitalized letter is required; all characters following it are ignored. If
-<emphasis role="italic">option</emphasis> is 'Unique', any matching item already
-in the queue will be removed before before <emphasis
-role="italic">item</emphasis> is added to the queue.
-removed before the operation is performed. This allows you to maintain a list
-like the recent files list of an editor.
+If <emphasis role="italic">option</emphasis> is specified, it may be "Normal" or "Unique".  The default is "Normal".  Only
+the first letter of the option is needed, case is insignificant. All characters following the first letter are ignored. If
+<emphasis role="italic">option</emphasis> is 'Unique', any matching item already in the queue will be removed before
+<emphasis role="italic">item</emphasis> is added to the queue. This allows you to maintain a list like the recent files list
+of an editor.
 </para>
 </section>
 
@@ -2243,20 +2239,17 @@
 </para>
 
 <para>
-If the circular queue is full, than the first item will be deleted, before the
+If the circular queue is full, then the first item will be deleted, before the
 insertion takes place.  In this case the <emphasis role="italic">deleted item</emphasis>
 will be returned, otherwise <emphasis role="italic">.nil</emphasis>.
 </para>
 
 <para>
-If <emphasis role="italic">option</emphasis> is specified, it may be "Normal" or
-"Unique".  The default is "Normal".  Only the first letter of the option
-capitalized letter is required; all characters following it are ignored. If
-<emphasis role="italic">option</emphasis> is 'Unique', any matching item already
-in the queue will be removed before before <emphasis
-role="italic">item</emphasis> is added to the queue.
-removed before the operation is performed. This allows you to maintain a list
-like the recent files list of an editor.
+If <emphasis role="italic">option</emphasis> is specified, it may be "Normal" or "Unique".  The default is "Normal".  Only
+the first letter of the option is needed, case is insignificant. All characters following the first letter are ignored. If
+<emphasis role="italic">option</emphasis> is 'Unique', any matching item already in the queue will be removed before
+<emphasis role="italic">item</emphasis> is added to the queue. This allows you to maintain a list like the recent files list
+of an editor.
 </para>
 </section>
 
@@ -2299,14 +2292,14 @@
 </varlistentry>
 <varlistentry><term>Lifo</term>
 <listitem>
-<para>Last-in, first-out (stacklike).  This removes the most recently added
+<para>Last-in, first-out (stack-like).  This removes the most recently added
 items.
 </para>
 </listitem>
 </varlistentry>
 </variablelist>
 
-<note><title>Note:</title>
+<note><title>Note</title>
 <para>
 Resizing with a value of <computeroutput>0</computeroutput> removes all items
 from the circular queue.
@@ -2377,7 +2370,7 @@
 </varlistentry>
 <varlistentry><term>Lifo</term>
 <listitem>
-<para>Last-in, first-out (stacklike)
+<para>Last-in, first-out (stack-like)
 </para>
 </listitem>
 </varlistentry>
@@ -2421,7 +2414,7 @@
 </varlistentry>
 <varlistentry><term>Lifo</term>
 <listitem>
-<para>Last-in, first-out (stacklike)
+<para>Last-in, first-out (stack-like)
 </para>
 </listitem>
 </varlistentry>
@@ -2635,7 +2628,7 @@
 linkend="mthDirectorySetMethod">setMethod</link> is associated with index
 <emphasis role="italic">name</emphasis>, the result of running this method is
 returned. If the collection has no item or method associated with index
-<emphasis role="italic">name</emphasis>, the Nill object is returned.
+<emphasis role="italic">name</emphasis>, the Nil object is returned.
 </para>
 <para><emphasis role="bold">Example:</emphasis></para>
 <programlisting>
@@ -4524,7 +4517,7 @@
 </programlisting>
 
 <para>Returns an item associated with <emphasis role="italic">index</emphasis>.
-Thie is the same as the
+This is the same as the
 <link linkend="mthRelationAt">at()</link> method.</para>
 </section>
 
@@ -4599,7 +4592,7 @@
 
 <para>Returns an array of all indexes contained in the Relation. The returned
 array will have one index for every item stored in the relation, including
-duplicates.  Duplicate indexes can be removed easily by converted the array to a
+duplicates.  Duplicate indexes can be removed easily by converting the array to a
 set.
 </para>
 <programlisting>
@@ -4718,7 +4711,7 @@
 <para>Returns <computeroutput>1</computeroutput> (true) if the relation
 contains the member item <emphasis role="italic">item</emphasis>,
 <computeroutput>0</computeroutput> (false).
-If <emphasis role="italic">index</emphasis> is specified, hasIndex()
+If <emphasis role="italic">index</emphasis> is specified, hasItem()
 will only return true if the relation contains the pairing of
 <emphasis role="italic">item</emphasis> associated with index
 <emphasis role="italic">index</emphasis>.
@@ -5656,7 +5649,7 @@
 <para>Returns a <link linkend="clsSupplier">Supplier</link> object for the stem.
 The supplier allows you to iterate though the index/item pairs contained in the Stem
 object at the time the supplier was created.
-The supplier iterams the items in an unspecified order.
+The supplier iterates the items in an unspecified order.
 </para>
 </section>