Repository: commons-rng Updated Branches: refs/heads/master 0e7680b44 -> b2dd661df
Javadoc. Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/b2dd661d Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/b2dd661d Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/b2dd661d Branch: refs/heads/master Commit: b2dd661df43ee5d65e21eb0134a8397d871c5a9e Parents: 0e7680b Author: Gilles <[email protected]> Authored: Fri Jan 6 02:49:17 2017 +0100 Committer: Gilles <[email protected]> Committed: Fri Jan 6 02:49:17 2017 +0100 ---------------------------------------------------------------------- .../apache/commons/rng/sampling/CollectionSampler.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b2dd661d/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/CollectionSampler.java ---------------------------------------------------------------------- diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/CollectionSampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/CollectionSampler.java index 2895765..34c7247 100644 --- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/CollectionSampler.java +++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/CollectionSampler.java @@ -55,16 +55,9 @@ public class CollectionSampler<T> { } /** - * Picks one of the items in the given {@code collection}. - * - * <p> - * Sampling is without replacement; but if the source collection - * contains identical objects, the sample may include repeats. - * </p> - * <p> - * There is no guarantee that the concrete type of the returned - * collection is the same as the source collection. - * </p> + * Picks one of the items from the + * {@link #CollectionSampler(UniformRandomProvider,Collection) + * collection passed to the constructor}. * * @return a random sample. */
