final class MiniInt extends AnyVal with Serializable
Similar to Int
, but with a much smaller domain. The exact range of MiniInt may be tuned from time to time, so
consumers of this type should avoid depending on its exact range.
MiniInt
has integer overflow characteristics similar to Int
(but with a smaller radix), meaning that its addition
and multiplication are commutative and associative.
- Source
- MiniInt.scala
- Alphabetic
- By Inheritance
- MiniInt
- Serializable
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def *(o: MiniInt): MiniInt
- def +(o: MiniInt): MiniInt
- def /(o: MiniInt): MiniInt
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- val intBits: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toInt: Int
- def toString(): String
- Definition Classes
- MiniInt → Any
- def unary_-: MiniInt
- def |(o: MiniInt): MiniInt