Class/Object

cats.laws.discipline

MiniInt

Related Docs: object MiniInt | package discipline

Permalink

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.

Linear Supertypes
Serializable, Serializable, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MiniInt
  2. Serializable
  3. Serializable
  4. AnyVal
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def *(o: MiniInt): MiniInt

    Permalink
  4. def +(o: MiniInt): MiniInt

    Permalink
  5. def /(o: MiniInt): MiniInt

    Permalink
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  9. val intBits: Int

    Permalink
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. def toInt: Int

    Permalink
  12. def toString(): String

    Permalink
    Definition Classes
    MiniInt → Any
  13. def unary_-: MiniInt

    Permalink
  14. def |(o: MiniInt): MiniInt

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyVal

Inherited from Any

Ungrouped