com.twitter.algebird

Monoid

trait Monoid[T] extends Semigroup[T]

Monoid (take a deep breath, and relax about the weird name): This is a semigroup that has an additive identity (called zero), such that a+0=a, 0+a=a, for every a

Annotations
@implicitNotFound( ... )
Linear Supertypes
Semigroup[T], Serializable, AnyRef, Any
Known Subclasses
AffineFunctionMonoid, AveragedGroup, BloomFilterMonoid, BooleanField, ConstantGroup, CountMinSketchMonoid, DoubleField, EitherMonoid, EventuallyGroup, EventuallyMonoid, EventuallyRing, Field, FloatField, Function1Monoid, Group, HyperLogLogMonoid, IndexedSeqGroup, IndexedSeqMonoid, IndexedSeqRing, IntRing, JBoolField, JDoubleField, JFloatField, JIntRing, JListMonoid, JLongRing, JMapMonoid, JShortRing, ListMonoid, LongRing, MapGroup, MapMonoid, MapRing, MinHasher, MinHasher16, MinHasher32, MinPlusSemiring, MomentsGroup, MonadField, MonadGroup, MonadMonoid, MonadRing, NullGroup, OptionMonoid, PriorityQueueMonoid, RightFolded2Monoid, Ring, SGDMonoid, SeqMonoid, SetMonoid, ShortRing, SortedTakeListMonoid, StringMonoid, TopKMonoid, Tuple10Group, Tuple10Monoid, Tuple10Ring, Tuple11Group, Tuple11Monoid, Tuple11Ring, Tuple12Group, Tuple12Monoid, Tuple12Ring, Tuple13Group, Tuple13Monoid, Tuple13Ring, Tuple14Group, Tuple14Monoid, Tuple14Ring, Tuple15Group, Tuple15Monoid, Tuple15Ring, Tuple16Group, Tuple16Monoid, Tuple16Ring, Tuple17Group, Tuple17Monoid, Tuple17Ring, Tuple18Group, Tuple18Monoid, Tuple18Ring, Tuple19Group, Tuple19Monoid, Tuple19Ring, Tuple20Group, Tuple20Monoid, Tuple20Ring, Tuple21Group, Tuple21Monoid, Tuple21Ring, Tuple22Group, Tuple22Monoid, Tuple22Ring, Tuple2Group, Tuple2Monoid, Tuple2Ring, Tuple3Group, Tuple3Monoid, Tuple3Ring, Tuple4Group, Tuple4Monoid, Tuple4Ring, Tuple5Group, Tuple5Monoid, Tuple5Ring, Tuple6Group, Tuple6Monoid, Tuple6Ring, Tuple7Group, Tuple7Monoid, Tuple7Ring, Tuple8Group, Tuple8Monoid, Tuple8Ring, Tuple9Group, Tuple9Monoid, Tuple9Ring, UnitGroup
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Monoid
  2. Semigroup
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def plus(l: T, r: T): T

    Definition Classes
    Semigroup
  2. abstract def zero: T

Concrete 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 assertNotZero(v: T): Unit

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def isNonZero(v: T): Boolean

    Definition Classes
    MonoidSemigroup
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def nonZeroOption(v: T): Option[T]

  18. final def notify(): Unit

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

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def sum(vs: TraversableOnce[T]): T

    Annotations
    @deprecated
    Deprecated

    Just use Monoid.sum

Inherited from Semigroup[T]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped