diff options
author | Lex Spoon <lex@lexspoon.org> | 2008-04-07 00:06:11 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2008-04-07 00:06:11 +0000 |
commit | c04fa9cd2214689620cacfc6c9ddbf1634942a95 (patch) | |
tree | f320083ca61f04c36d9aeb58cb502ddd575617cd | |
parent | a0ce35f939bd724c94619c281498b79c24d8b74e (diff) | |
download | scala-c04fa9cd2214689620cacfc6c9ddbf1634942a95.tar.gz scala-c04fa9cd2214689620cacfc6c9ddbf1634942a95.tar.bz2 scala-c04fa9cd2214689620cacfc6c9ddbf1634942a95.zip |
fixed some typos in the scaladoc comments
-rw-r--r-- | src/library/scala/Product.scala | 10 |
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 <= i < k</code> + /** for a product <code>A(x_1,...,x_k)</code>, returns <code>x_(n+1)</code> + * for <code>0 <= n < 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 |