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 returnsInt
- arbitary object with a parameterless sizemethod that returnsInt
- arbitary object with a getSize()method that returnsInt
- arbitary object with a parameterless getSizemethod that returnsInt
- arbitary object with a size()method that returnsLong
- arbitary object with a parameterless sizemethod that returnsLong
- arbitary object with a getSize()method that returnsLong
- arbitary object with a parameterless getSizemethod that returnsLong
- Source
- Size.scala
- Alphabetic
- By Inheritance
- Size
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-   implicit  def sizeOfAnyRefWithGetSizeMethodForInt[T <: AnyRef { def getSize(): Int }]: Size[T]Enable Sizeimplementation for arbitary object withgetSize()method that returnsInt.Enable Sizeimplementation for arbitary object withgetSize()method that returnsInt.- T
- any type with - getSize()method that returns- Int
- returns
- Size[T]that supports- Tin- have sizesyntax
 
-   implicit  def sizeOfAnyRefWithGetSizeMethodForLong[T <: AnyRef { def getSize(): Long }]: Size[T]Enable Sizeimplementation for arbitary object withgetSize()method that returnsLong.Enable Sizeimplementation for arbitary object withgetSize()method that returnsLong.- T
- any type with - getSize()method that returns- Long
- returns
- Size[T]that supports- Tin- have sizesyntax
 
-   implicit  def sizeOfAnyRefWithParameterlessGetSizeMethodForInt[T <: AnyRef { def getSize: Int }]: Size[T]Enable Sizeimplementation for arbitary object with parameterlessgetSizemethod that returnsInt.Enable Sizeimplementation for arbitary object with parameterlessgetSizemethod that returnsInt.- T
- any type with parameterless - getSizemethod that returns- Int
- returns
- Size[T]that supports- Tin- have sizesyntax
 
-   implicit  def sizeOfAnyRefWithParameterlessGetSizeMethodForLong[T <: AnyRef { def getSize: Long }]: Size[T]Enable Sizeimplementation for arbitary object withgetSizemethod that returnsLong.Enable Sizeimplementation for arbitary object withgetSizemethod that returnsLong.- T
- any type with - getSizemethod that returns- Long
- returns
- Size[T]that supports- Tin- have sizesyntax
 
-   implicit  def sizeOfAnyRefWithParameterlessSizeMethodForInt[T <: AnyRef { def size: Int }]: Size[T]Enable Sizeimplementation for arbitary object with parameterlesssizemethod that returnsInt.Enable Sizeimplementation for arbitary object with parameterlesssizemethod that returnsInt.- T
- any type with parameterless - sizemethod that returns- Int
- returns
- Size[T]that supports- Tin- have sizesyntax
 
-   implicit  def sizeOfAnyRefWithParameterlessSizeMethodForLong[T <: AnyRef { def size: Long }]: Size[T]Enable Sizeimplementation for arbitary object with parameterlesssizemethod that returnsLong.Enable Sizeimplementation for arbitary object with parameterlesssizemethod that returnsLong.- T
- any type with parameterless - sizemethod that returns- Long
- returns
- Size[T]that supports- Tin- have sizesyntax
 
-   implicit  def sizeOfAnyRefWithSizeMethodForInt[T <: AnyRef { def size(): Int }]: Size[T]Enable Sizeimplementation for arbitary object withsize()method that returnsInt.Enable Sizeimplementation for arbitary object withsize()method that returnsInt.- T
- any type with - size()method that returns- Int
- returns
- Size[T]that supports- Tin- have sizesyntax
 
-   implicit  def sizeOfAnyRefWithSizeMethodForLong[T <: AnyRef { def size(): Long }]: Size[T]Enable Sizeimplementation for arbitary object withsize()method that returnsLong.Enable Sizeimplementation for arbitary object withsize()method that returnsLong.- T
- any type with - size()method that returns- Long
- returns
- Size[T]that supports- Tin- have sizesyntax
 
-   implicit  def sizeOfArray[E]: Size[Array[E]]Enable Sizeimplementation forArrayEnable Sizeimplementation forArray- E
- the type of the element in the - Array
- returns
- Size[Array[E]]that supports- Arrayin- have sizesyntax
 
-   implicit  def sizeOfGenTraversable[TRAV <: GenTraversable[_]]: Size[TRAV]Enable Sizeimplementation forscala.collection.GenTraversableEnable Sizeimplementation forscala.collection.GenTraversable- TRAV
- any subtype of - scala.collection.GenTraversable
- returns
- Size[TRAV]that supports- scala.collection.GenTraversablein- have sizesyntax
 
-   implicit  def sizeOfJavaCollection[JCOL <: Collection[_]]: Size[JCOL]Enable Sizeimplementation forjava.util.CollectionEnable Sizeimplementation forjava.util.Collection- JCOL
- any subtype of - java.util.Collection
- returns
- Size[JCOL]that supports- java.util.Collectionin- have sizesyntax
 
-   implicit  def sizeOfJavaMap[JMAP <: Map[_, _]]: Size[JMAP]Enable Sizeimplementation forjava.util.MapEnable Sizeimplementation forjava.util.Map- JMAP
- any subtype of - java.util.Map
- returns
- Size[JMAP]that supports- java.util.Mapin- have sizesyntax
 
-   implicit  val sizeOfString: Size[String]Enable Sizeimplementation forStringEnable Sizeimplementation forString- returns
- Size[String]that supports- Stringin- have sizesyntax
 
-   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(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()