object Max extends MaxInstances with Serializable
Provides a set of operations and typeclass instances needed to use Max instances.
- Alphabetic
- By Inheritance
- Max
- Serializable
- MaxInstances
- LowPriorityMaxInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aggregator[T](implicit ord: Ordering[T]): MaxAggregator[T]
Returns an Aggregator that selects the maximum instance of an ordered type
T
in the aggregated stream. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit def doubleMonoid: Monoid[Max[Double]] with BoundedSemilattice[Max[Double]]
Monoid for Max[Double] with
zero == Double.MinValue
Note: MinValue > NegativeInfinity, but people may be relying on this emitting a non-infinite number. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def equiv[T](implicit eq: Equiv[T]): Equiv[Max[T]]
- Definition Classes
- LowPriorityMaxInstances
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit def floatMonoid: Monoid[Max[Float]] with BoundedSemilattice[Max[Float]]
Monoid for Max[Float] with
zero == Float.MinValue
Note: MinValue > NegativeInfinity, but people may be relying on this emitting a non-infinite number. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit def intMonoid: Monoid[Max[Int]] with BoundedSemilattice[Max[Int]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def listMonoid[T](implicit arg0: Ordering[T]): Monoid[Max[List[T]]] with BoundedSemilattice[Max[List[T]]]
Returns a Monoid instance for
Max[List[T]]
that compares lists first by length and then element-wise byT
, and returns the maximum value.Returns a Monoid instance for
Max[List[T]]
that compares lists first by length and then element-wise byT
, and returns the maximum value.- Definition Classes
- LowPriorityMaxInstances
- implicit def longMonoid: Monoid[Max[Long]] with BoundedSemilattice[Max[Long]]
- def maxSemigroup[T](implicit ord: Ordering[T]): Semigroup[T] with Semilattice[T]
Returns a Semigroup instance with a
plus
implementation that always returns the maximumT
argument. - def monoid[T](zero: => T)(implicit arg0: Ordering[T]): Monoid[Max[T]] with BoundedSemilattice[Max[T]]
Returns a Monoid instance for Max[T] that combines instances using Max.max and uses
zero
for its identity. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def ordering[T](implicit arg0: Ordering[T]): Ordering[Max[T]]
- Definition Classes
- LowPriorityMaxInstances
- implicit def semigroup[T](implicit arg0: Ordering[T]): Semigroup[Max[T]] with Semilattice[Max[T]]
- implicit def streamMonoid[T](implicit arg0: Ordering[T]): Monoid[Max[Stream[T]]] with BoundedSemilattice[Max[Stream[T]]]
Returns a Monoid instance for
Max[Stream[T]]
that compares lists first by length and then element-wise byT
, and returns the maximum value.Returns a Monoid instance for
Max[Stream[T]]
that compares lists first by length and then element-wise byT
, and returns the maximum value.- Definition Classes
- LowPriorityMaxInstances
- implicit def stringMonoid: Monoid[Max[String]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def vectorMonoid[T](implicit arg0: Ordering[T]): Monoid[Max[Vector[T]]] with BoundedSemilattice[Max[Vector[T]]]
Returns a Monoid instance for
Max[Vector[T]]
that compares lists first by length and then element-wise byT
, and returns the maximum value.Returns a Monoid instance for
Max[Vector[T]]
that compares lists first by length and then element-wise byT
, and returns the maximum value.- Definition Classes
- LowPriorityMaxInstances
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()