Companion object for Length
that provides implicit implementations for the following types:
-
scala.collection.GenSeq
-
String
-
Array
-
java.util.Collection
-
arbitary object with a
length()
method that returnsInt
-
arbitary object with a parameterless
length
method that returnsInt
-
arbitary object with a
getLength()
method that returnsInt
-
arbitary object with a parameterless
getLength
method that returnsInt
-
arbitary object with a
length()
method that returnsLong
-
arbitary object with a parameterless
length
method that returnsLong
-
arbitary object with a
getLength()
method that returnsLong
-
arbitary object with a parameterless
getLength
method that returnsLong
- Companion:
- class
Implicits
Implicits
Enable Length
implementation for arbitary object with getLength()
method that returns Int
.
Enable Length
implementation for arbitary object with getLength()
method that returns Int
.
- Type parameters:
- T
any type with
getLength()
method that returnsInt
- Returns:
Length[T]
that supportsT
inhave length
syntax
Enable Length
implementation for arbitary object with getLength()
method that returns Long
.
Enable Length
implementation for arbitary object with getLength()
method that returns Long
.
- Type parameters:
- T
any type with
getLength()
method that returnsLong
- Returns:
Length[T]
that supportsT
inhave length
syntax
Enable Length
implementation for arbitary object with length()
method that returns Int
.
Enable Length
implementation for arbitary object with length()
method that returns Int
.
- Type parameters:
- T
any type with
length()
method that returnsInt
- Returns:
Length[T]
that supportsT
inhave length
syntax
Enable Length
implementation for arbitary object with length()
method that returns Long
.
Enable Length
implementation for arbitary object with length()
method that returns Long
.
- Type parameters:
- T
any type with
length()
method that returnsLong
- Returns:
Length[T]
that supportsT
inhave length
syntax
Enable Length
implementation for arbitary object with parameterless getLength
method that returns Int
.
Enable Length
implementation for arbitary object with parameterless getLength
method that returns Int
.
- Type parameters:
- T
any type with parameterless
getLength
method that returnsInt
- Returns:
Length[T]
that supportsT
inhave length
syntax
Enable Length
implementation for arbitary object with parameterless getLength
method that returns Long
.
Enable Length
implementation for arbitary object with parameterless getLength
method that returns Long
.
- Type parameters:
- T
any type with parameterless
getLength
method that returnsLong
- Returns:
Length[T]
that supportsT
inhave length
syntax
Enable Length
implementation for arbitary object with parameterless length
method that returns Int
.
Enable Length
implementation for arbitary object with parameterless length
method that returns Int
.
- Type parameters:
- T
any type with parameterless
length
method that returnsInt
- Returns:
Length[T]
that supportsT
inhave length
syntax
Enable Length
implementation for arbitary object with parameterless length
method that returns Long
.
Enable Length
implementation for arbitary object with parameterless length
method that returns Long
.
- Type parameters:
- T
any type with parameterless
length
method that returnsLong
- Returns:
Length[T]
that supportsT
inhave length
syntax
Enable Length
implementation for Array
Enable Length
implementation for Array
- Type parameters:
- E
the type of the element in the
Array
- Returns:
Length[Array[E]]
that supportsArray
inhave length
syntax
Enable Length
implementation for scala.collection.GenSeq
Enable Length
implementation for scala.collection.GenSeq
- Type parameters:
- SEQ
any subtype of
scala.collection.GenSeq
- Returns:
Length[SEQ]
that supportsscala.collection.GenSeq
inhave length
syntax
Enable Length
implementation for java.util.List
Enable Length
implementation for java.util.List
- Type parameters:
- JLIST
any subtype of
java.util.List
- Returns:
Length[JLIST]
that supportsjava.util.List
inhave length
syntax