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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. 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

  16. 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

  17. 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

  18. 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

  19. 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

  20. 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

  21. 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

  22. 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

  23. 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

  24. 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

  25. 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

  26. 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

  27. 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

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped