object Size
Companion object for Size that provides implicit implementations for the following types:
scala.collection.GenTraversableStringArrayjava.util.Collectionjava.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
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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 returnsInt- returns
Size[T]that supportsTinhave 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 returnsLong- returns
Size[T]that supportsTinhave 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 returnsInt- returns
Size[T]that supportsTinhave 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 returnsLong- returns
Size[T]that supportsTinhave 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 returnsInt- returns
Size[T]that supportsTinhave 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 returnsLong- returns
Size[T]that supportsTinhave 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 returnsInt- returns
Size[T]that supportsTinhave 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 returnsLong- returns
Size[T]that supportsTinhave 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 supportsArrayinhave 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 supportsscala.collection.GenTraversableinhave 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 supportsjava.util.Collectioninhave 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 supportsjava.util.Mapinhave sizesyntax
-
implicit
val
sizeOfString: Size[String]
Enable
Sizeimplementation forStringEnable
Sizeimplementation forString- returns
Size[String]that supportsStringinhave 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )