Packages

object Size

Companion object for Size that provides implicit implementations for the following types:

  • scala.collection.GenTraversable
  • String
  • Array
  • java.util.Collection
  • java.util.Map
  • arbitary object with a size() method that returns Int
  • arbitary object with a parameterless size method that returns Int
  • arbitary object with a getSize() method that returns Int
  • arbitary object with a parameterless getSize method that returns Int
  • arbitary object with a size() method that returns Long
  • arbitary object with a parameterless size method that returns Long
  • arbitary object with a getSize() method that returns Long
  • arbitary object with a parameterless getSize method that returns Long
Source
Size.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Size
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit def sizeOfAnyRefWithGetSizeMethodForInt[T <: AnyRef { def getSize(): Int }]: Size[T]

    Enable Size implementation for arbitary object with getSize() method that returns Int.

    Enable Size implementation for arbitary object with getSize() method that returns Int.

    T

    any type with getSize() method that returns Int

    returns

    Size[T] that supports T in have size syntax

  2. implicit def sizeOfAnyRefWithGetSizeMethodForLong[T <: AnyRef { def getSize(): Long }]: Size[T]

    Enable Size implementation for arbitary object with getSize() method that returns Long.

    Enable Size implementation for arbitary object with getSize() method that returns Long.

    T

    any type with getSize() method that returns Long

    returns

    Size[T] that supports T in have size syntax

  3. implicit def sizeOfAnyRefWithParameterlessGetSizeMethodForInt[T <: AnyRef { def getSize: Int }]: Size[T]

    Enable Size implementation for arbitary object with parameterless getSize method that returns Int.

    Enable Size implementation for arbitary object with parameterless getSize method that returns Int.

    T

    any type with parameterless getSize method that returns Int

    returns

    Size[T] that supports T in have size syntax

  4. implicit def sizeOfAnyRefWithParameterlessGetSizeMethodForLong[T <: AnyRef { def getSize: Long }]: Size[T]

    Enable Size implementation for arbitary object with getSize method that returns Long.

    Enable Size implementation for arbitary object with getSize method that returns Long.

    T

    any type with getSize method that returns Long

    returns

    Size[T] that supports T in have size syntax

  5. implicit def sizeOfAnyRefWithParameterlessSizeMethodForInt[T <: AnyRef { def size: Int }]: Size[T]

    Enable Size implementation for arbitary object with parameterless size method that returns Int.

    Enable Size implementation for arbitary object with parameterless size method that returns Int.

    T

    any type with parameterless size method that returns Int

    returns

    Size[T] that supports T in have size syntax

  6. implicit def sizeOfAnyRefWithParameterlessSizeMethodForLong[T <: AnyRef { def size: Long }]: Size[T]

    Enable Size implementation for arbitary object with parameterless size method that returns Long.

    Enable Size implementation for arbitary object with parameterless size method that returns Long.

    T

    any type with parameterless size method that returns Long

    returns

    Size[T] that supports T in have size syntax

  7. implicit def sizeOfAnyRefWithSizeMethodForInt[T <: AnyRef { def size(): Int }]: Size[T]

    Enable Size implementation for arbitary object with size() method that returns Int.

    Enable Size implementation for arbitary object with size() method that returns Int.

    T

    any type with size() method that returns Int

    returns

    Size[T] that supports T in have size syntax

  8. implicit def sizeOfAnyRefWithSizeMethodForLong[T <: AnyRef { def size(): Long }]: Size[T]

    Enable Size implementation for arbitary object with size() method that returns Long.

    Enable Size implementation for arbitary object with size() method that returns Long.

    T

    any type with size() method that returns Long

    returns

    Size[T] that supports T in have size syntax

  9. implicit def sizeOfArray[E]: Size[Array[E]]

    Enable Size implementation for Array

    Enable Size implementation for Array

    E

    the type of the element in the Array

    returns

    Size[Array[E]] that supports Array in have size syntax

  10. implicit def sizeOfGenTraversable[TRAV <: GenTraversable[_]]: Size[TRAV]

    Enable Size implementation for scala.collection.GenTraversable

    Enable Size implementation for scala.collection.GenTraversable

    TRAV

    any subtype of scala.collection.GenTraversable

    returns

    Size[TRAV] that supports scala.collection.GenTraversable in have size syntax

  11. implicit def sizeOfJavaCollection[JCOL <: Collection[_]]: Size[JCOL]

    Enable Size implementation for java.util.Collection

    Enable Size implementation for java.util.Collection

    JCOL

    any subtype of java.util.Collection

    returns

    Size[JCOL] that supports java.util.Collection in have size syntax

  12. implicit def sizeOfJavaMap[JMAP <: Map[_, _]]: Size[JMAP]

    Enable Size implementation for java.util.Map

    Enable Size implementation for java.util.Map

    JMAP

    any subtype of java.util.Map

    returns

    Size[JMAP] that supports java.util.Map in have size syntax

  13. implicit val sizeOfString: Size[String]

    Enable Size implementation for String

    Enable Size implementation for String

    returns

    Size[String] that supports String in have size syntax