diff options
author | seanm <sean.mcnamara@webtrends.com> | 2013-07-12 08:38:19 -0700 |
---|---|---|
committer | seanm <sean.mcnamara@webtrends.com> | 2013-07-12 08:38:19 -0700 |
commit | a1662326e9b1486361eba2f2caf903875fbba597 (patch) | |
tree | b7ac365e93b65275875ba0c58a2ef0d5a0d235e6 | |
parent | a2c915fba84a1deadac199994322e0f15d5750b4 (diff) | |
download | spark-a1662326e9b1486361eba2f2caf903875fbba597.tar.gz spark-a1662326e9b1486361eba2f2caf903875fbba597.tar.bz2 spark-a1662326e9b1486361eba2f2caf903875fbba597.zip |
comment adjustment to takeOrdered
-rw-r--r-- | core/src/main/scala/spark/RDD.scala | 2 | ||||
-rw-r--r-- | core/src/main/scala/spark/api/java/JavaRDDLike.scala | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/scala/spark/RDD.scala b/core/src/main/scala/spark/RDD.scala index 4c1591ed5a..8aa77266bc 100644 --- a/core/src/main/scala/spark/RDD.scala +++ b/core/src/main/scala/spark/RDD.scala @@ -782,7 +782,7 @@ abstract class RDD[T: ClassManifest]( } /** - * Returns the top K elements from this RDD as defined by + * Returns the first K elements from this RDD as defined by * the specified implicit Ordering[T] and maintains the * ordering. * @param num the number of top elements to return diff --git a/core/src/main/scala/spark/api/java/JavaRDDLike.scala b/core/src/main/scala/spark/api/java/JavaRDDLike.scala index 94b95af714..27f40ecdfd 100644 --- a/core/src/main/scala/spark/api/java/JavaRDDLike.scala +++ b/core/src/main/scala/spark/api/java/JavaRDDLike.scala @@ -386,7 +386,7 @@ trait JavaRDDLike[T, This <: JavaRDDLike[T, This]] extends Serializable { } /** - * Returns the top K elements from this RDD as defined by + * Returns the first K elements from this RDD as defined by * the specified Comparator[T] and maintains the order. * @param num the number of top elements to return * @param comp the comparator that defines the order @@ -400,7 +400,7 @@ trait JavaRDDLike[T, This <: JavaRDDLike[T, This]] extends Serializable { } /** - * Returns the top K elements from this RDD using the + * Returns the first K elements from this RDD using the * natural ordering for T while maintain the order. * @param num the number of top elements to return * @return an array of top elements |