Skip to content

Commit

Permalink
iterator -> [[TraversableOnce]]
Browse files Browse the repository at this point in the history
  • Loading branch information
gstamatelat committed Jul 5, 2018
1 parent ea1e092 commit fce35ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo-scala/src/UnweightedStream.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SamplingTraversableOnce[T](val it: TraversableOnce[T]) {
}

/**
* Samples this iterator using the provided algorithm and returns a copy of the reservoir.
* Samples this [[TraversableOnce]] using the provided algorithm and returns a copy of the reservoir.
*
* @param rs the sampling algorithm
* @return a [[List]] containing the sampled elements
Expand Down
2 changes: 1 addition & 1 deletion demo-scala/src/WeightedStream.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class WeightedSamplingTraversableOnce[T](val it: TraversableOnce[(T, Double)]) {
}

/**
* Samples this iterator using the provided algorithm and returns a copy of the reservoir.
* Samples this [[TraversableOnce]] using the provided algorithm and returns a copy of the reservoir.
*
* @param wrs the sampling algorithm
* @return a [[List]] containing the sampled elements
Expand Down

0 comments on commit fce35ef

Please sign in to comment.