implicit final class ApsoTraversableOnce[T] extends AnyVal
Implicit class that provides new methods for traversable-once collections.
- Alphabetic
- By Inheritance
- ApsoTraversableOnce
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ApsoTraversableOnce(it: TraversableOnce[T])
- it
the traversable-once collection to which the new methods are provided.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
average[A >: T](implicit num: Numeric[A]): A
Returns the average of the elements of this collection.
Returns the average of the elements of this collection.
- A
the result type of the
/operator- num
either an instance of
Numericor an instance ofFractional, defining a set of numeric operations which includes the+and the/operators to be used in forming the average.- returns
the average of all elements of this collection with respect to the
+and/operators innum.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val it: TraversableOnce[T]
-
def
toString(): String
- Definition Classes
- Any