Class Sampler


  • public class Sampler
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Sampler​(java.util.Random random)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number sample​(java.util.List<java.lang.Number> samples)  
      static java.lang.Number sampleFrom​(java.util.List<java.lang.Number> samples)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Sampler

        public Sampler​(java.util.Random random)
    • Method Detail

      • sample

        public java.lang.Number sample​(java.util.List<java.lang.Number> samples)
      • sampleFrom

        public static java.lang.Number sampleFrom​(java.util.List<java.lang.Number> samples)