object Length
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
- Source
- Length.scala
- Alphabetic
- By Inheritance
- Length
- 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
-
implicit
def
lengthOfAnyRefWithGetLengthMethodForInt[T <: AnyRef { def getLength(): Int }]: Length[T]
Enable
Length
implementation for arbitary object withgetLength()
method that returnsInt
.Enable
Length
implementation for arbitary object withgetLength()
method that returnsInt
.- T
any type with
getLength()
method that returnsInt
- returns
Length[T]
that supportsT
inhave length
syntax
-
implicit
def
lengthOfAnyRefWithGetLengthMethodForLong[T <: AnyRef { def getLength(): Long }]: Length[T]
Enable
Length
implementation for arbitary object withgetLength()
method that returnsLong
.Enable
Length
implementation for arbitary object withgetLength()
method that returnsLong
.- T
any type with
getLength()
method that returnsLong
- returns
Length[T]
that supportsT
inhave length
syntax
-
implicit
def
lengthOfAnyRefWithLengthMethodForInt[T <: AnyRef { def length(): Int }]: Length[T]
Enable
Length
implementation for arbitary object withlength()
method that returnsInt
.Enable
Length
implementation for arbitary object withlength()
method that returnsInt
.- T
any type with
length()
method that returnsInt
- returns
Length[T]
that supportsT
inhave length
syntax
-
implicit
def
lengthOfAnyRefWithLengthMethodForLong[T <: AnyRef { def length(): Long }]: Length[T]
Enable
Length
implementation for arbitary object withlength()
method that returnsLong
.Enable
Length
implementation for arbitary object withlength()
method that returnsLong
.- T
any type with
length()
method that returnsLong
- returns
Length[T]
that supportsT
inhave length
syntax
-
implicit
def
lengthOfAnyRefWithParameterlessGetLengthMethodForInt[T <: AnyRef { def getLength: Int }]: Length[T]
Enable
Length
implementation for arbitary object with parameterlessgetLength
method that returnsInt
.Enable
Length
implementation for arbitary object with parameterlessgetLength
method that returnsInt
.- T
any type with parameterless
getLength
method that returnsInt
- returns
Length[T]
that supportsT
inhave length
syntax
-
implicit
def
lengthOfAnyRefWithParameterlessGetLengthMethodForLong[T <: AnyRef { def getLength: Long }]: Length[T]
Enable
Length
implementation for arbitary object with parameterlessgetLength
method that returnsLong
.Enable
Length
implementation for arbitary object with parameterlessgetLength
method that returnsLong
.- T
any type with parameterless
getLength
method that returnsLong
- returns
Length[T]
that supportsT
inhave length
syntax
-
implicit
def
lengthOfAnyRefWithParameterlessLengthMethodForInt[T <: AnyRef { def length: Int }]: Length[T]
Enable
Length
implementation for arbitary object with parameterlesslength
method that returnsInt
.Enable
Length
implementation for arbitary object with parameterlesslength
method that returnsInt
.- T
any type with parameterless
length
method that returnsInt
- returns
Length[T]
that supportsT
inhave length
syntax
-
implicit
def
lengthOfAnyRefWithParameterlessLengthMethodForLong[T <: AnyRef { def length: Long }]: Length[T]
Enable
Length
implementation for arbitary object with parameterlesslength
method that returnsLong
.Enable
Length
implementation for arbitary object with parameterlesslength
method that returnsLong
.- T
any type with parameterless
length
method that returnsLong
- returns
Length[T]
that supportsT
inhave length
syntax
-
implicit
def
lengthOfArray[E]: Length[Array[E]]
Enable
Length
implementation forArray
Enable
Length
implementation forArray
- E
the type of the element in the
Array
- returns
Length[Array[E]]
that supportsArray
inhave length
syntax
-
implicit
def
lengthOfGenSeq[SEQ <: GenSeq[_]]: Length[SEQ]
Enable
Length
implementation forscala.collection.GenSeq
Enable
Length
implementation forscala.collection.GenSeq
- SEQ
any subtype of
scala.collection.GenSeq
- returns
Length[SEQ]
that supportsscala.collection.GenSeq
inhave length
syntax
-
implicit
def
lengthOfJavaList[JLIST <: List[_]]: Length[JLIST]
Enable
Length
implementation forjava.util.List
Enable
Length
implementation forjava.util.List
- JLIST
any subtype of
java.util.List
- returns
Length[JLIST]
that supportsjava.util.List
inhave length
syntax
-
implicit
val
lengthOfString: Length[String]
Enable
Length
implementation forString
Enable
Length
implementation forString
- returns
Length[String]
that supportsString
inhave length
syntax
-
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()
-
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( ... )