Packages

c

spire.std

MapMonoid

class MapMonoid[K, V] extends Monoid[Map[K, V]] with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, Monoid[Map[K, V]], Semigroup[Map[K, V]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapMonoid
  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 MapMonoid()(implicit scalar: Semigroup[V])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def combine(as: TraversableOnce[Map[K, V]]): Map[K, V]

    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[Map[K, V]]): Option[Map[K, V]]

    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: Map[K, V], n: Int): Map[K, V]

    Return a combined with itself n times.

    Return a combined with itself n times.

    Definition Classes
    MonoidSemigroup
  9. def combinenAboveOne(a: Map[K, V], n: Int): Map[K, V]
    Attributes
    protected
    Definition Classes
    Semigroup
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. def id: Map[K, V]

    Return the identity element for this monoid.

    Return the identity element for this monoid.

    Definition Classes
    MapMonoidMonoid
  16. def isId(a: Map[K, V])(implicit ev: Eq[Map[K, V]]): Boolean

    Tests if a is the identity.

    Tests if a is the identity.

    Definition Classes
    Monoid
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. def op(x: Map[K, V], y: Map[K, V]): Map[K, V]
    Definition Classes
    MapMonoidSemigroup
  22. implicit val scalar: Semigroup[V]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Monoid[Map[K, V]]

Inherited from Semigroup[Map[K, V]]

Inherited from AnyRef

Inherited from Any

Ungrouped