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 returnsBoolean
- arbitary object with a parameterless
isEmpty
method that returnsBoolean
- Source
- Emptiness.scala
- Alphabetic
- By Inheritance
- Emptiness
- 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( ... )
-
implicit
def
emptinessOfAnyRefWithIsEmptyMethod[T <: AnyRef { def isEmpty(): Boolean }]: Emptiness[T]
Enable
Emptiness
implementation for any arbitrary object with aisEmpty()
method that returnsBoolean
Enable
Emptiness
implementation for any arbitrary object with aisEmpty()
method that returnsBoolean
- T
any type that has a
isEmpty()
method that returnsBoolean
- returns
Emptiness[T]
that supportsT
inbe empty
syntax
-
implicit
def
emptinessOfAnyRefWithParameterlessIsEmptyMethod[T <: AnyRef { def isEmpty: Boolean }]: Emptiness[T]
Enable
Emptiness
implementation for any arbitrary object with aisEmpty
method that returnsBoolean
Enable
Emptiness
implementation for any arbitrary object with aisEmpty
method that returnsBoolean
- T
any type that has a parameterless
isEmpty
method that returnsBoolean
- returns
Emptiness[T]
that supportsT
inbe empty
syntax
-
implicit
def
emptinessOfArray[E]: Emptiness[Array[E]]
Enable
Emptiness
implementation forArray
Enable
Emptiness
implementation forArray
- E
the type of the element in the
Array
- returns
Emptiness[Array[E]]
that supportsArray
inbe empty
syntax
-
implicit
def
emptinessOfGenTraversable[E, TRAV[e] <: GenTraversable[e]]: Emptiness[TRAV[E]]
Enable
Emptiness
implementation forscala.collection.GenTraversable
Enable
Emptiness
implementation forscala.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 supportsscala.collection.GenTraversable
inbe empty
syntax
-
implicit
def
emptinessOfJavaCollection[E, JCOL[e] <: Collection[e]]: Emptiness[JCOL[E]]
Enable
Emptiness
implementation forjava.util.Collection
Enable
Emptiness
implementation forjava.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 supportsjava.util.Collection
inbe empty
syntax
-
implicit
def
emptinessOfJavaMap[K, V, JMAP[k, v] <: Map[k, v]]: Emptiness[JMAP[K, V]]
Enable
Emptiness
implementation forjava.util.Map
Enable
Emptiness
implementation forjava.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 supportsjava.util.Map
inbe empty
syntax
-
implicit
def
emptinessOfOption[E, OPT[e] <: Option[e]]: Emptiness[OPT[E]]
Enable
Emptiness
implementation forscala.Option
Enable
Emptiness
implementation forscala.Option
- E
the type of the element in the
scala.Option
- OPT
any subtype of
scala.Option
- returns
Emptiness[OPT[E]]
that supportsscala.Option
inbe empty
syntax
-
implicit
def
emptinessOfString: Emptiness[String]
Enable
Emptiness
implementation forString
Enable
Emptiness
implementation forString
- returns
Emptiness[String]
that supportsString
inbe empty
syntax
-
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
-
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( ... )