OpaqueInteger

org.encalmo.models.OpaqueInteger
trait OpaqueInteger[O] extends OpaqueType[O, Int]

Attributes

Graph
Supertypes
trait OpaqueType[O, Int]
class Object
trait Matchable
class Any
Known subtypes
object Bps
object Percentage
object Amount
object Fee

Members list

Value members

Concrete methods

inline def of(value: Double): O
inline def of(value: BigDecimal): O

Inherited methods

inline def unapply(value: O): Option[Int]

Attributes

Inherited from:
OpaqueType

Inherited and Abstract methods

def apply(value: Int): O

Attributes

Inherited from:
OpaqueType
def show(value: O): Int

Attributes

Inherited from:
OpaqueType

Givens

Givens

given given_Function_O_Value: O => Value
inline given given_Ordering_O: Ordering[O]
given given_ReadWriter_O: ReadWriter[O]

Extensions

Extensions

extension (value: O)
inline def *(n: Int): O
inline def *(n: BigDecimal): O
inline def *(n: Double): O
inline def +(n: Int): O
inline def +(n: O): O
inline def -(n: Int): O
inline def -(n: O): O
inline def /(n: Int): O
inline def /(n: BigDecimal): O
inline def /(n: Double): O
inline def toBigDecimal: BigDecimal
inline def toInt: Int

Inherited extensions

extension (value: O)
inline def existsIn(values: O*): Boolean

Attributes

Inherited from:
OpaqueType