From fce35ef38a3939ef4717b51f5fe166b88d2c3faa Mon Sep 17 00:00:00 2001 From: Giorgos Stamatelatos Date: Thu, 5 Jul 2018 18:45:22 +0300 Subject: [PATCH] iterator -> [[TraversableOnce]] --- demo-scala/src/UnweightedStream.scala | 2 +- demo-scala/src/WeightedStream.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo-scala/src/UnweightedStream.scala b/demo-scala/src/UnweightedStream.scala index 7cfb2d2..5d6aee2 100644 --- a/demo-scala/src/UnweightedStream.scala +++ b/demo-scala/src/UnweightedStream.scala @@ -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 diff --git a/demo-scala/src/WeightedStream.scala b/demo-scala/src/WeightedStream.scala index 0299210..45272f4 100644 --- a/demo-scala/src/WeightedStream.scala +++ b/demo-scala/src/WeightedStream.scala @@ -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