implicit final class AnyOps[A] extends AnyVal
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnyOps
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AnyOps(value: A)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (AnyOps[A], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (AnyOps[A]) ⇒ Boolean, msg: ⇒ Any): AnyOps[A]
- def ensuring(cond: (AnyOps[A]) ⇒ Boolean): AnyOps[A]
- def ensuring(cond: Boolean, msg: ⇒ Any): AnyOps[A]
- def ensuring(cond: Boolean): AnyOps[A]
- def formatted(fmtstr: String): String
-
def
future: Future[A]
Creates an already completed
Future
containingvalue
.Creates an already completed
Future
containingvalue
.- returns
the already completed
Future
with the specified result
- Annotations
- @inline()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
option: Option[A]
Creates an
Option
containingvalue
.Creates an
Option
containingvalue
.- returns
Some(value)
ifvalue
is notnull
,None
otherwise
- Annotations
- @inline()
-
def
tap(f: (A) ⇒ Unit): A
Applies side-effectul method to
value
, returningvalue
.Applies side-effectul method to
value
, returningvalue
.- f
the side-effectful method to apply to
value
- returns
value
-
def
toString(): String
- Definition Classes
- Any
- def →[B](y: B): (AnyOps[A], B)