Packages

object Emptiness

Companion object for Emptiness that provides implicit implementations for the following types:

  • scala.collection.GenTraversable
  • String
  • Array
  • scala.Option
  • java.util.Collection
  • java.util.Map
  • arbitary object with a isEmpty() method that returns Boolean
  • arbitary object with a parameterless isEmpty method that returns Boolean
Source
Emptiness.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Emptiness
  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. implicit def emptinessOfAnyRefWithIsEmptyMethod[T <: AnyRef { def isEmpty(): Boolean }]: Emptiness[T]

    Enable Emptiness implementation for any arbitrary object with a isEmpty() method that returns Boolean

    Enable Emptiness implementation for any arbitrary object with a isEmpty() method that returns Boolean

    T

    any type that has a isEmpty() method that returns Boolean

    returns

    Emptiness[T] that supports T in be empty syntax

  7. implicit def emptinessOfAnyRefWithParameterlessIsEmptyMethod[T <: AnyRef { def isEmpty: Boolean }]: Emptiness[T]

    Enable Emptiness implementation for any arbitrary object with a isEmpty method that returns Boolean

    Enable Emptiness implementation for any arbitrary object with a isEmpty method that returns Boolean

    T

    any type that has a parameterless isEmpty method that returns Boolean

    returns

    Emptiness[T] that supports T in be empty syntax

  8. implicit def emptinessOfArray[E]: Emptiness[Array[E]]

    Enable Emptiness implementation for Array

    Enable Emptiness implementation for Array

    E

    the type of the element in the Array

    returns

    Emptiness[Array[E]] that supports Array in be empty syntax

  9. implicit def emptinessOfGenTraversable[E, TRAV[e] <: GenTraversable[e]]: Emptiness[TRAV[E]]

    Enable Emptiness implementation for scala.collection.GenTraversable

    Enable Emptiness implementation for scala.collection.GenTraversable

    E

    the type of the element in the scala.collection.GenTraversable

    TRAV

    any subtype of scala.collection.GenTraversable

    returns

    Emptiness[TRAV[E]] that supports scala.collection.GenTraversable in be empty syntax

  10. implicit def emptinessOfJavaCollection[E, JCOL[e] <: Collection[e]]: Emptiness[JCOL[E]]

    Enable Emptiness implementation for java.util.Collection

    Enable Emptiness implementation for java.util.Collection

    E

    the type of the element in the java.util.Collection

    JCOL

    any subtype of java.util.Collection

    returns

    Emptiness[JCOL[E]] that supports java.util.Collection in be empty syntax

  11. implicit def emptinessOfJavaMap[K, V, JMAP[k, v] <: Map[k, v]]: Emptiness[JMAP[K, V]]

    Enable Emptiness implementation for java.util.Map

    Enable Emptiness implementation for java.util.Map

    K

    the type of the key in the java.util.Map

    V

    the type of the value in the java.util.Map

    JMAP

    any subtype of java.util.Map

    returns

    Emptiness[JMAP[K, V]] that supports java.util.Map in be empty syntax

  12. implicit def emptinessOfOption[E, OPT[e] <: Option[e]]: Emptiness[OPT[E]]

    Enable Emptiness implementation for scala.Option

    Enable Emptiness implementation for scala.Option

    E

    the type of the element in the scala.Option

    OPT

    any subtype of scala.Option

    returns

    Emptiness[OPT[E]] that supports scala.Option in be empty syntax

  13. implicit def emptinessOfString: Emptiness[String]

    Enable Emptiness implementation for String

    Enable Emptiness implementation for String

    returns

    Emptiness[String] that supports String in be empty syntax

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped