Packages

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
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MiniInt
  2. Serializable
  3. AnyVal
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def *(o: MiniInt): MiniInt
  4. def +(o: MiniInt): MiniInt
  5. def /(o: MiniInt): MiniInt
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. val intBits: Int
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def toInt: Int
  12. def toString(): String
    Definition Classes
    MiniInt → Any
  13. def unary_-: MiniInt
  14. def |(o: MiniInt): MiniInt

Inherited from Serializable

Inherited from AnyVal

Inherited from Any

Ungrouped