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 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
- Protected
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
 
-   final  def getClass(): Class[_ <: AnyRef]- 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 returns- Int
- returns
- Length[T]that supports- Tin- have 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 returns- Long
- returns
- Length[T]that supports- Tin- have 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 returns- Int
- returns
- Length[T]that supports- Tin- have 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 returns- Long
- returns
- Length[T]that supports- Tin- have 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 returns- Int
- returns
- Length[T]that supports- Tin- have 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 returns- Long
- returns
- Length[T]that supports- Tin- have 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 returns- Int
- returns
- Length[T]that supports- Tin- have 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 returns- Long
- returns
- Length[T]that supports- Tin- have 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 supports- Arrayin- have 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 supports- scala.collection.GenSeqin- have 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 supports- java.util.Listin- have lengthsyntax
 
-   implicit  val lengthOfString: Length[String]Enable Lengthimplementation forStringEnable Lengthimplementation forString- returns
- Length[String]that supports- Stringin- have 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(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()