Skip to content
Snippets Groups Projects
Commit a1662326 authored by seanm's avatar seanm
Browse files

comment adjustment to takeOrdered

parent a2c915fb
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment