Companion object for Size
that provides implicit implementations for the following types:
-
org.scalactic.ColCompatHelper.Iterable
-
String
-
Array
-
java.util.Collection
-
java.util.Map
-
arbitary object with a
size()
method that returnsInt
-
arbitary object with a parameterless
size
method that returnsInt
-
arbitary object with a
getSize()
method that returnsInt
-
arbitary object with a parameterless
getSize
method that returnsInt
-
arbitary object with a
size()
method that returnsLong
-
arbitary object with a parameterless
size
method that returnsLong
-
arbitary object with a
getSize()
method that returnsLong
-
arbitary object with a parameterless
getSize
method that returnsLong
Attributes
Members list
Implicits
Implicits
Enable Size
implementation for arbitary object with getSize()
method that returns Int
.
Enable Size
implementation for arbitary object with getSize()
method that returns Int
.
Type parameters
- T
-
any type with
getSize()
method that returnsInt
Attributes
- Returns
-
Size[T]
that supportsT
inhave size
syntax
Enable Size
implementation for arbitary object with getSize()
method that returns Long
.
Enable Size
implementation for arbitary object with getSize()
method that returns Long
.
Type parameters
- T
-
any type with
getSize()
method that returnsLong
Attributes
- Returns
-
Size[T]
that supportsT
inhave size
syntax
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
.
Type parameters
- T
-
any type with parameterless
getSize
method that returnsInt
Attributes
- Returns
-
Size[T]
that supportsT
inhave size
syntax
Enable Size
implementation for arbitary object with getSize
method that returns Long
.
Enable Size
implementation for arbitary object with getSize
method that returns Long
.
Type parameters
- T
-
any type with
getSize
method that returnsLong
Attributes
- Returns
-
Size[T]
that supportsT
inhave size
syntax
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
.
Type parameters
- T
-
any type with parameterless
size
method that returnsInt
Attributes
- Returns
-
Size[T]
that supportsT
inhave size
syntax
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
.
Type parameters
- T
-
any type with parameterless
size
method that returnsLong
Attributes
- Returns
-
Size[T]
that supportsT
inhave size
syntax
Enable Size
implementation for arbitary object with size()
method that returns Int
.
Enable Size
implementation for arbitary object with size()
method that returns Int
.
Type parameters
- T
-
any type with
size()
method that returnsInt
Attributes
- Returns
-
Size[T]
that supportsT
inhave size
syntax
Enable Size
implementation for arbitary object with size()
method that returns Long
.
Enable Size
implementation for arbitary object with size()
method that returns Long
.
Type parameters
- T
-
any type with
size()
method that returnsLong
Attributes
- Returns
-
Size[T]
that supportsT
inhave size
syntax
Enable Size
implementation for Array
Enable Size
implementation for Array
Type parameters
- E
-
the type of the element in the
Array
Attributes
- Returns
-
Size[Array[E]]
that supportsArray
inhave size
syntax
Enable Size
implementation for org.scalactic.ColCompatHelper.Iterable
Enable Size
implementation for org.scalactic.ColCompatHelper.Iterable
Type parameters
- ITR
-
any subtype of
org.scalactic.ColCompatHelper.Iterable
Attributes
- Returns
-
Size[ITR]
that supportsorg.scalactic.ColCompatHelper.Iterable
inhave size
syntax
Enable Size
implementation for java.util.Collection
Enable Size
implementation for java.util.Collection
Type parameters
- JCOL
-
any subtype of
java.util.Collection
Attributes
- Returns
-
Size[JCOL]
that supportsjava.util.Collection
inhave size
syntax
Enable Size
implementation for java.util.Map
Enable Size
implementation for java.util.Map
Type parameters
- JMAP
-
any subtype of
java.util.Map
Attributes
- Returns
-
Size[JMAP]
that supportsjava.util.Map
inhave size
syntax
Enable Size
implementation for String
Enable Size
implementation for String
Attributes
- Returns
-
Size[String]
that supportsString
inhave size
syntax