implicit final class ExtraRichNullable[A] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExtraRichNullable
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ExtraRichNullable(a: A)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
??(value: A): A
Returns
this
ifthis
is notnull
, or a default value otherwise. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
nonNull: A
Asserts that
this
is notnull
.Asserts that
this
is notnull
.- returns
this
, if it is notnull
- Annotations
- @throws( ... )
- Exceptions thrown
NullPointerException
ifthis
isnull
-
def
orIfNull(value: A): A
Returns
this
ifthis
is notnull
, or a default value otherwise.Returns
this
ifthis
is notnull
, or a default value otherwise.This method is
null
-coalescing.- value
a default value if
this
isnull
- returns
this
ifthis
is notnull
, or the default value otherwise
- See also
-
def
toString(): String
- Definition Classes
- Any