object AveragedValue extends Serializable
Provides a set of operations needed to create and use AveragedValue instances.
- Alphabetic
- By Inheritance
- AveragedValue
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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: Aggregator[Double, AveragedValue, Double]
Returns an Aggregator that uses AveragedValue to calculate the mean of all
Double
values in the stream.Returns an Aggregator that uses AveragedValue to calculate the mean of all
Double
values in the stream. Each Double value receives a count of 1 during aggregation. -
def
apply[V](c: Long, v: V)(implicit num: Numeric[V]): AveragedValue
Creates an AveragedValue with a count of of
c
and a value ofv
.Creates an AveragedValue with a count of of
c
and a value ofv
.- V
type with an implicit conversion to Double
-
def
apply[V](v: V)(implicit arg0: Numeric[V]): AveragedValue
Creates AveragedValue with a value of
v
and a count of 1.Creates AveragedValue with a value of
v
and a count of 1.- V
type with an implicit conversion to Double
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- implicit val group: Group[AveragedValue]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
numericAggregator[N](implicit num: Numeric[N]): MonoidAggregator[N, AveragedValue, Double]
Returns an Aggregator that uses AveragedValue to calculate the mean of all values in the stream.
Returns an Aggregator that uses AveragedValue to calculate the mean of all values in the stream. Each numeric value receives a count of
1
during aggregation.- N
numeric type to convert into
Double
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )