Class

spire.std

IterableMonoid

Related Doc: package std

Permalink

final class IterableMonoid[A, SA <: TraversableLike[A, SA]] extends Monoid[SA] with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, Monoid[SA], Semigroup[SA], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IterableMonoid
  2. Serializable
  3. Serializable
  4. Monoid
  5. Semigroup
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IterableMonoid()(implicit cbf: CanBuildFrom[SA, A, SA])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def combine(as: TraversableOnce[SA]): SA

    Permalink

    Given a sequence of as, combine them using the monoid and return the total.

    Given a sequence of as, combine them using the monoid and return the total.

    Definition Classes
    Monoid
  7. def combineOption(as: TraversableOnce[SA]): Option[SA]

    Permalink

    Given a sequence of as, combine them using the semigroup and return the total.

    Given a sequence of as, combine them using the semigroup and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    Semigroup
  8. def combinen(a: SA, n: Int): SA

    Permalink

    Return a combined with itself n times.

    Return a combined with itself n times.

    Definition Classes
    MonoidSemigroup
  9. def combinenAboveOne(a: SA, n: Int): SA

    Permalink
    Attributes
    protected
    Definition Classes
    Semigroup
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def id: SA

    Permalink

    Return the identity element for this monoid.

    Return the identity element for this monoid.

    Definition Classes
    IterableMonoidMonoid
  16. def isId(a: SA)(implicit ev: Eq[SA]): Boolean

    Permalink

    Tests if a is the identity.

    Tests if a is the identity.

    Definition Classes
    Monoid
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def op(x: SA, y: SA): SA

    Permalink
    Definition Classes
    IterableMonoidSemigroup
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Monoid[SA]

Inherited from Semigroup[SA]

Inherited from AnyRef

Inherited from Any

Ungrouped