final class TryOps[A] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TryOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TryOps(tr: commons.Try[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
-
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 toNOpt: commons.NOpt[A]
-
def
toOpt: commons.Opt[A]
Converts this
Try
intoOpt
.Converts this
Try
intoOpt
. BecauseOpt
cannot holdnull
,Success(null)
is translated toOpt.Empty
. -
def
toOptArg: commons.OptArg[A]
Converts this
Try
intoOptArg
.Converts this
Try
intoOptArg
. BecauseOptArg
cannot holdnull
,Success(null)
is translated toOptArg.Empty
. -
def
toOptRef[B >: Null](implicit boxing: Boxing[A, B]): commons.OptRef[B]
Converts this
Try
intoOptRef
, changing the element type into boxed representation if necessary (e.g.Converts this
Try
intoOptRef
, changing the element type into boxed representation if necessary (e.g.Boolean
intojava.lang.Boolean
). BecauseOptRef
cannot holdnull
,Success(null)
is translated toOptRef.Empty
. -
def
toString(): String
- Definition Classes
- Any