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
- Companion:
- class
Implicits
Implicits
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
- Type parameters:
- T
any type that has a
isEmpty()
method that returnsBoolean
- Returns:
Emptiness[T]
that supportsT
inbe empty
syntax
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
- Type parameters:
- T
any type that has a parameterless
isEmpty
method that returnsBoolean
- Returns:
Emptiness[T]
that supportsT
inbe empty
syntax
Enable Emptiness
implementation for Array
Enable Emptiness
implementation for Array
- Type parameters:
- E
the type of the element in the
Array
- Returns:
Emptiness[Array[E]]
that supportsArray
inbe empty
syntax
Enable Emptiness
implementation for scala.collection.GenTraversable
Enable Emptiness
implementation for scala.collection.GenTraversable
- Type parameters:
- 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
Enable Emptiness
implementation for java.util.Collection
Enable Emptiness
implementation for java.util.Collection
- Type parameters:
- 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
Enable Emptiness
implementation for java.util.Map
Enable Emptiness
implementation for java.util.Map
- Type parameters:
- JMAP
any subtype of
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
- Returns:
Emptiness[JMAP[K, V]]
that supportsjava.util.Map
inbe empty
syntax
Enable Emptiness
implementation for scala.Option
Enable Emptiness
implementation for scala.Option
- Type parameters:
- 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