summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2008-04-07 00:06:11 +0000
committerLex Spoon <lex@lexspoon.org>2008-04-07 00:06:11 +0000
commitc04fa9cd2214689620cacfc6c9ddbf1634942a95 (patch)
treef320083ca61f04c36d9aeb58cb502ddd575617cd /src
parenta0ce35f939bd724c94619c281498b79c24d8b74e (diff)
downloadscala-c04fa9cd2214689620cacfc6c9ddbf1634942a95.tar.gz
scala-c04fa9cd2214689620cacfc6c9ddbf1634942a95.tar.bz2
scala-c04fa9cd2214689620cacfc6c9ddbf1634942a95.zip
fixed some typos in the scaladoc comments
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/Product.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/library/scala/Product.scala b/src/library/scala/Product.scala
index bc77c939ad..7e5cf10cae 100644
--- a/src/library/scala/Product.scala
+++ b/src/library/scala/Product.scala
@@ -19,16 +19,16 @@ package scala
*/
trait Product extends AnyRef {
- /** for a case class <code>A(x_1,...,x_k))</code>, returns <code>x_(i+1)</code>
- * for <code>0 &lt;= i &lt; k</code>
+ /** for a product <code>A(x_1,...,x_k)</code>, returns <code>x_(n+1)</code>
+ * for <code>0 &lt;= n &lt; k</code>
*
- * @param n the position of the n-th element
+ * @param n the index of the element to return
* @throws IndexOutOfBoundsException
- * @return ...
+ * @return The element <code>n</code> elements after the first element
*/
def productElement(n: Int): Any
- /** return k for a product <code>A(x_1,...,x_k))</code>
+ /** return k for a product <code>A(x_1,...,x_k)</code>
*/
def productArity: Int