spire.std

IterableMonoid

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

Annotations
@SerialVersionUID( 0L )
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    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
  9. def combineOption(as: TraversableOnce[SA]): Option[SA]

    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
  10. def combinen(a: SA, n: Int): SA

    Return a combined with itself n times.

    Return a combined with itself n times.

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  17. def id: SA

    Return the identity element for this monoid.

    Return the identity element for this monoid.

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

    Tests if a is the identity.

    Tests if a is the identity.

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

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

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

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

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

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    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