implicit final class IntOps extends AnyVal
- Alphabetic
- By Inheritance
- IntOps
- AnyVal
- Any
- by AnyOps
- by AnyOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (IntOps, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (IntOps) ⇒ Boolean, msg: ⇒ Any): IntOps
- def ensuring(cond: (IntOps) ⇒ Boolean): IntOps
- def ensuring(cond: Boolean, msg: ⇒ Any): IntOps
- def ensuring(cond: Boolean): IntOps
- def formatted(fmtstr: String): String
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
isEven: Boolean
Whether
value
is even.Whether
value
is even.- returns
true
ifvalue
is even,false
otherwise
- Annotations
- @inline()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isOdd: Boolean
Whether
value
is odd.Whether
value
is odd.- returns
true
ifvalue
is odd,false
otherwise
- Annotations
- @inline()
-
def
ordinalize: String
Turns a non-negative number into an ordinal string used to denote the position in an ordered sequence, such as 1st, 2nd, 3rd, 4th.
Turns a non-negative number into an ordinal string used to denote the position in an ordered sequence, such as 1st, 2nd, 3rd, 4th.
- returns
the string with the number and ordinal suffix
- Annotations
- @inline()
-
def
toString(): String
- Definition Classes
- Any
- def →[B](y: B): (IntOps, B)
Shadowed Implicit Value Members
-
def
future: Future[IntOps]
Creates an already completed
Future
containingvalue
.Creates an already completed
Future
containingvalue
.- returns
the already completed
Future
with the specified result
- Implicit
- This member is added by an implicit conversion from IntOps to AnyOps[IntOps] performed by method AnyOps in scail.commons.ops.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(intOps: AnyOps[IntOps]).future
- Definition Classes
- AnyOps
- Annotations
- @inline()
-
def
future: Future[IntOps]
Creates an already completed
Future
containingvalue
.Creates an already completed
Future
containingvalue
.- returns
the already completed
Future
with the specified result
- Implicit
- This member is added by an implicit conversion from IntOps to AnyOps[IntOps] performed by method AnyOps in scail.commons.ops.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(intOps: AnyOps[IntOps]).future
- Definition Classes
- AnyOps
- Annotations
- @inline()
-
def
option: Option[IntOps]
Creates an
Option
containingvalue
.Creates an
Option
containingvalue
.- returns
Some(value)
ifvalue
is notnull
,None
otherwise
- Implicit
- This member is added by an implicit conversion from IntOps to AnyOps[IntOps] performed by method AnyOps in scail.commons.ops.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(intOps: AnyOps[IntOps]).option
- Definition Classes
- AnyOps
- Annotations
- @inline()
-
def
option: Option[IntOps]
Creates an
Option
containingvalue
.Creates an
Option
containingvalue
.- returns
Some(value)
ifvalue
is notnull
,None
otherwise
- Implicit
- This member is added by an implicit conversion from IntOps to AnyOps[IntOps] performed by method AnyOps in scail.commons.ops.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(intOps: AnyOps[IntOps]).option
- Definition Classes
- AnyOps
- Annotations
- @inline()
-
def
tap(f: (IntOps) ⇒ Unit): IntOps
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
- Implicit
- This member is added by an implicit conversion from IntOps to AnyOps[IntOps] performed by method AnyOps in scail.commons.ops.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(intOps: AnyOps[IntOps]).tap(f)
- Definition Classes
- AnyOps
-
def
tap(f: (IntOps) ⇒ Unit): IntOps
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
- Implicit
- This member is added by an implicit conversion from IntOps to AnyOps[IntOps] performed by method AnyOps in scail.commons.ops.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(intOps: AnyOps[IntOps]).tap(f)
- Definition Classes
- AnyOps