Packages

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 returns Int
  • arbitary object with a parameterless length method that returns Int
  • arbitary object with a getLength() method that returns Int
  • arbitary object with a parameterless getLength method that returns Int
  • arbitary object with a length() method that returns Long
  • arbitary object with a parameterless length method that returns Long
  • arbitary object with a getLength() method that returns Long
  • arbitary object with a parameterless getLength method that returns Long
Source
Length.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Length
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. implicit def lengthOfAnyRefWithGetLengthMethodForInt[T <: AnyRef { def getLength(): Int }]: Length[T]

    Enable Length implementation for arbitary object with getLength() method that returns Int.

    Enable Length implementation for arbitary object with getLength() method that returns Int.

    T

    any type with getLength() method that returns Int

    returns

    Length[T] that supports T in have length syntax

  13. implicit def lengthOfAnyRefWithGetLengthMethodForLong[T <: AnyRef { def getLength(): Long }]: Length[T]

    Enable Length implementation for arbitary object with getLength() method that returns Long.

    Enable Length implementation for arbitary object with getLength() method that returns Long.

    T

    any type with getLength() method that returns Long

    returns

    Length[T] that supports T in have length syntax

  14. implicit def lengthOfAnyRefWithLengthMethodForInt[T <: AnyRef { def length(): Int }]: Length[T]

    Enable Length implementation for arbitary object with length() method that returns Int.

    Enable Length implementation for arbitary object with length() method that returns Int.

    T

    any type with length() method that returns Int

    returns

    Length[T] that supports T in have length syntax

  15. implicit def lengthOfAnyRefWithLengthMethodForLong[T <: AnyRef { def length(): Long }]: Length[T]

    Enable Length implementation for arbitary object with length() method that returns Long.

    Enable Length implementation for arbitary object with length() method that returns Long.

    T

    any type with length() method that returns Long

    returns

    Length[T] that supports T in have length syntax

  16. implicit def lengthOfAnyRefWithParameterlessGetLengthMethodForInt[T <: AnyRef { def getLength: Int }]: Length[T]

    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.

    T

    any type with parameterless getLength method that returns Int

    returns

    Length[T] that supports T in have length syntax

  17. implicit def lengthOfAnyRefWithParameterlessGetLengthMethodForLong[T <: AnyRef { def getLength: Long }]: Length[T]

    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.

    T

    any type with parameterless getLength method that returns Long

    returns

    Length[T] that supports T in have length syntax

  18. implicit def lengthOfAnyRefWithParameterlessLengthMethodForInt[T <: AnyRef { def length: Int }]: Length[T]

    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.

    T

    any type with parameterless length method that returns Int

    returns

    Length[T] that supports T in have length syntax

  19. implicit def lengthOfAnyRefWithParameterlessLengthMethodForLong[T <: AnyRef { def length: Long }]: Length[T]

    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.

    T

    any type with parameterless length method that returns Long

    returns

    Length[T] that supports T in have length syntax

  20. implicit def lengthOfArray[E]: Length[Array[E]]

    Enable Length implementation for Array

    Enable Length implementation for Array

    E

    the type of the element in the Array

    returns

    Length[Array[E]] that supports Array in have length syntax

  21. implicit def lengthOfGenSeq[SEQ <: GenSeq[_]]: Length[SEQ]

    Enable Length implementation for scala.collection.GenSeq

    Enable Length implementation for scala.collection.GenSeq

    SEQ

    any subtype of scala.collection.GenSeq

    returns

    Length[SEQ] that supports scala.collection.GenSeq in have length syntax

  22. implicit def lengthOfJavaList[JLIST <: List[_]]: Length[JLIST]

    Enable Length implementation for java.util.List

    Enable Length implementation for java.util.List

    JLIST

    any subtype of java.util.List

    returns

    Length[JLIST] that supports java.util.List in have length syntax

  23. implicit val lengthOfString: Length[String]

    Enable Length implementation for String

    Enable Length implementation for String

    returns

    Length[String] that supports String in have length syntax

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped