Packages

class Hist[A] extends AnyRef

histogram counter

Source
stat.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Hist
  2. AnyRef
  3. Any
Implicitly
  1. by richDrxAny
  2. by DrxBoundOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Hist(itemCount: Map[A, Long])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(x: A): Hist[A]

    add

  4. def ++(that: Hist[A]): Hist[A]

    merge two statCounts

  5. def ++(xs: Iterable[A]): Hist[A]

    batch add

  6. def ->[B](y: B): (Hist[A], B)
    Implicit
    This member is added by an implicit conversion from Hist[A] toArrowAssoc[Hist[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def apply(x: A): Long

    get the counted items for this element

  9. def applyIf(t: Boolean, f: (Hist[A]) => Hist[A]): Hist[A]
    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. def applyIf(t: (Hist[A]) => Boolean)(f: (Hist[A]) => Hist[A]): Hist[A]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def bins: Map[A, Long]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. lazy val count: Long
  15. def elementOf(xs: Set[Hist[A]]): Boolean
    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  16. def ensuring(cond: (Hist[A]) => Boolean, msg: => Any): Hist[A]
    Implicit
    This member is added by an implicit conversion from Hist[A] toEnsuring[Hist[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (Hist[A]) => Boolean): Hist[A]
    Implicit
    This member is added by an implicit conversion from Hist[A] toEnsuring[Hist[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: => Any): Hist[A]
    Implicit
    This member is added by an implicit conversion from Hist[A] toEnsuring[Hist[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): Hist[A]
    Implicit
    This member is added by an implicit conversion from Hist[A] toEnsuring[Hist[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Hist[A] toStringFormat[Hist[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. def get(x: A): Option[Long]
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val itemCount: Map[A, Long]
    Attributes
    protected
  29. def iterator: Iterator[(A, Long)]
  30. def keys: Iterable[A]

    get the bins

  31. lazy val maxCount: Long
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def noneIf(f: (Hist[A]) => Boolean): Option[Hist[A]]
    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def optionIf(f: (Hist[A]) => Boolean): Option[Hist[A]]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  37. def preApply[B](f: (Hist[A]) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  38. def sideEffect(f: (Hist[A]) => Unit): Hist[A]

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  39. def someIf(f: (Hist[A]) => Boolean): Option[Hist[A]]
    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. val thisAny: Hist[A]
    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  42. def till(maxArg: Hist[A]): Bound[Hist[A]]

    Bound construction since the Range constructor is deprecated

    Bound construction since the Range constructor is deprecated

    Implicit
    This member is added by an implicit conversion from Hist[A] toBoundOps[Hist[A]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[Hist[A]] is in scope.
    Definition Classes
    BoundOps
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Hist[A] toany2stringadd[Hist[A]] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (hist: any2stringadd[Hist[A]]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def ?>(f: (Hist[A]) => Boolean): Option[Hist[A]]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. def |>[B](f: (Hist[A]) => B): B
    Implicit
    This member is added by an implicit conversion from Hist[A] toDrxAny[Hist[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  3. def [B](y: B): (Hist[A], B)
    Implicit
    This member is added by an implicit conversion from Hist[A] toArrowAssoc[Hist[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromHist[A] to DrxAny[Hist[A]]

Inherited by implicit conversion DrxBoundOps fromHist[A] to BoundOps[Hist[A]]

Inherited by implicit conversion any2stringadd fromHist[A] to any2stringadd[Hist[A]]

Inherited by implicit conversion StringFormat fromHist[A] to StringFormat[Hist[A]]

Inherited by implicit conversion Ensuring fromHist[A] to Ensuring[Hist[A]]

Inherited by implicit conversion ArrowAssoc fromHist[A] to ArrowAssoc[Hist[A]]

Ungrouped