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
lengthmethod that returnsInt -
arbitary object with a
getLength()method that returnsInt -
arbitary object with a parameterless
getLengthmethod that returnsInt -
arbitary object with a
length()method that returnsLong -
arbitary object with a parameterless
lengthmethod that returnsLong -
arbitary object with a
getLength()method that returnsLong -
arbitary object with a parameterless
getLengthmethod 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 supportsTinhave lengthsyntax
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 supportsTinhave lengthsyntax
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 supportsTinhave lengthsyntax
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 supportsTinhave lengthsyntax
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
getLengthmethod that returnsInt
- Returns:
Length[T]that supportsTinhave lengthsyntax
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
getLengthmethod that returnsLong
- Returns:
Length[T]that supportsTinhave lengthsyntax
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
lengthmethod that returnsInt
- Returns:
Length[T]that supportsTinhave lengthsyntax
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
lengthmethod that returnsLong
- Returns:
Length[T]that supportsTinhave lengthsyntax
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 supportsArrayinhave lengthsyntax
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.GenSeqinhave lengthsyntax
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.Listinhave lengthsyntax