Packages

c

eu.shiftforward.apso.Implicits

ApsoTraversableOnce

implicit final class ApsoTraversableOnce[T] extends AnyVal

Implicit class that provides new methods for traversable-once collections.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApsoTraversableOnce
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ApsoTraversableOnce(it: TraversableOnce[T])

    it

    the traversable-once collection to which the new methods are provided.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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 Numeric or an instance of Fractional, 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 in num.

  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. val it: TraversableOnce[T]
  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped