Class Sampler.Sample<S>

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Sampler<T>

    public static class Sampler.Sample<S>
    extends java.lang.Object
    implements java.io.Serializable
    Represents the ranked items collected during a sample period
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long count  
      long error  
      S value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Sample​(S value, long count, long error)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        public final S value
      • count

        public final long count
      • error

        public final long error
    • Constructor Detail

      • Sample

        public Sample​(S value,
                      long count,
                      long error)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object