object Length
Companion object for Length that provides implicit implementations for the following types:
scala.collection.GenSeqStringArrayjava.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
- 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
Lengthimplementation for arbitary object withgetLength()method that returnsInt.Enable
Lengthimplementation for arbitary object withgetLength()method that returnsInt.- T
any type with
getLength()method that returnsInt- returns
Length[T]that supportsTinhave lengthsyntax
-
implicit
def
lengthOfAnyRefWithGetLengthMethodForLong[T <: AnyRef { def getLength(): Long }]: Length[T]
Enable
Lengthimplementation for arbitary object withgetLength()method that returnsLong.Enable
Lengthimplementation for arbitary object withgetLength()method that returnsLong.- T
any type with
getLength()method that returnsLong- returns
Length[T]that supportsTinhave lengthsyntax
-
implicit
def
lengthOfAnyRefWithLengthMethodForInt[T <: AnyRef { def length(): Int }]: Length[T]
Enable
Lengthimplementation for arbitary object withlength()method that returnsInt.Enable
Lengthimplementation for arbitary object withlength()method that returnsInt.- T
any type with
length()method that returnsInt- returns
Length[T]that supportsTinhave lengthsyntax
-
implicit
def
lengthOfAnyRefWithLengthMethodForLong[T <: AnyRef { def length(): Long }]: Length[T]
Enable
Lengthimplementation for arbitary object withlength()method that returnsLong.Enable
Lengthimplementation for arbitary object withlength()method that returnsLong.- T
any type with
length()method that returnsLong- returns
Length[T]that supportsTinhave lengthsyntax
-
implicit
def
lengthOfAnyRefWithParameterlessGetLengthMethodForInt[T <: AnyRef { def getLength: Int }]: Length[T]
Enable
Lengthimplementation for arbitary object with parameterlessgetLengthmethod that returnsInt.Enable
Lengthimplementation for arbitary object with parameterlessgetLengthmethod that returnsInt.- T
any type with parameterless
getLengthmethod that returnsInt- returns
Length[T]that supportsTinhave lengthsyntax
-
implicit
def
lengthOfAnyRefWithParameterlessGetLengthMethodForLong[T <: AnyRef { def getLength: Long }]: Length[T]
Enable
Lengthimplementation for arbitary object with parameterlessgetLengthmethod that returnsLong.Enable
Lengthimplementation for arbitary object with parameterlessgetLengthmethod that returnsLong.- T
any type with parameterless
getLengthmethod that returnsLong- returns
Length[T]that supportsTinhave lengthsyntax
-
implicit
def
lengthOfAnyRefWithParameterlessLengthMethodForInt[T <: AnyRef { def length: Int }]: Length[T]
Enable
Lengthimplementation for arbitary object with parameterlesslengthmethod that returnsInt.Enable
Lengthimplementation for arbitary object with parameterlesslengthmethod that returnsInt.- T
any type with parameterless
lengthmethod that returnsInt- returns
Length[T]that supportsTinhave lengthsyntax
-
implicit
def
lengthOfAnyRefWithParameterlessLengthMethodForLong[T <: AnyRef { def length: Long }]: Length[T]
Enable
Lengthimplementation for arbitary object with parameterlesslengthmethod that returnsLong.Enable
Lengthimplementation for arbitary object with parameterlesslengthmethod that returnsLong.- T
any type with parameterless
lengthmethod that returnsLong- returns
Length[T]that supportsTinhave lengthsyntax
-
implicit
def
lengthOfArray[E]: Length[Array[E]]
Enable
Lengthimplementation forArrayEnable
Lengthimplementation forArray- E
the type of the element in the
Array- returns
Length[Array[E]]that supportsArrayinhave lengthsyntax
-
implicit
def
lengthOfGenSeq[SEQ <: GenSeq[_]]: Length[SEQ]
Enable
Lengthimplementation forscala.collection.GenSeqEnable
Lengthimplementation forscala.collection.GenSeq- SEQ
any subtype of
scala.collection.GenSeq- returns
Length[SEQ]that supportsscala.collection.GenSeqinhave lengthsyntax
-
implicit
def
lengthOfJavaList[JLIST <: List[_]]: Length[JLIST]
Enable
Lengthimplementation forjava.util.ListEnable
Lengthimplementation forjava.util.List- JLIST
any subtype of
java.util.List- returns
Length[JLIST]that supportsjava.util.Listinhave lengthsyntax
-
implicit
val
lengthOfString: Length[String]
Enable
Lengthimplementation forStringEnable
Lengthimplementation forString- returns
Length[String]that supportsStringinhave lengthsyntax
-
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( ... )