io.github.karols.units.internal.ratios

BaseIntRatio

final class BaseIntRatio[U <: MUnit, V <: MUnit] extends AnyVal

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BaseIntRatio
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BaseIntRatio(ratio: Long)

Value Members

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

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

    Definition Classes
    Any
  3. def *[X <: MUnit, Y <: MUnit](that: BaseDoubleRatio[X, Y]): BaseDoubleRatio[U.Mul[X], V.Mul[Y]]

    Converts ratios between U and V and between X and Y into ratio between U×X and V×Y

    Converts ratios between U and V and between X and Y into ratio between U×X and V×Y

    Annotations
    @inline()
  4. def *[X <: MUnit, Y <: MUnit](that: BaseIntRatio[X, Y]): BaseIntRatio[U.Mul[X], V.Mul[Y]]

    Converts ratios between U and V and between X and Y into ratio between U×X and V×Y

    Converts ratios between U and V and between X and Y into ratio between U×X and V×Y

    Annotations
    @inline()
  5. def /[X <: MUnit, Y <: MUnit](that: BaseDoubleRatio[X, Y]): BaseDoubleRatio[U.Mul[/.X.Invert], V.Mul[/.Y.Invert]]

    Converts ratios between U and V and between X and Y into ratio between U/X and V/Y

    Converts ratios between U and V and between X and Y into ratio between U/X and V/Y

    Annotations
    @inline()
  6. def /[X <: MUnit, Y <: MUnit](that: BaseIntRatio[X, Y]): BaseDoubleRatio[U.Mul[/.X.Invert], V.Mul[/.Y.Invert]]

    Converts ratios between U and V and between X and Y into ratio between U/X and V/Y

    Converts ratios between U and V and between X and Y into ratio between U/X and V/Y

    Annotations
    @inline()
  7. def <>[Y <: MUnit](that: BaseIntRatio[U, Y]): BaseDoubleRatio[V, Y]

    Converts ratios between U and V and between U and Y into ratio between V and Y

    Converts ratios between U and V and between U and Y into ratio between V and Y

    Annotations
    @inline()
  8. def <>[Y <: MUnit](that: BaseDoubleRatio[U, Y]): BaseDoubleRatio[V, Y]

    Converts ratios between U and V and between U and Y into ratio between V and Y

    Converts ratios between U and V and between U and Y into ratio between V and Y

    Annotations
    @inline()
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. def ><[Y <: MUnit](that: BaseIntRatio[Y, V]): BaseDoubleRatio[U, Y]

    Converts ratios between U and V and between Y and V into ratio between U and Y

    Converts ratios between U and V and between Y and V into ratio between U and Y

    Annotations
    @inline()
  11. def ><[Y <: MUnit](that: BaseDoubleRatio[Y, V]): BaseDoubleRatio[U, Y]

    Converts ratios between U and V and between Y and V into ratio between U and Y

    Converts ratios between U and V and between Y and V into ratio between U and Y

    Annotations
    @inline()
  12. def >>[Y <: MUnit](that: BaseDoubleRatio[V, Y]): BaseDoubleRatio[U, Y]

    Converts ratios between U and V and between V and Y into ratio between U and Y

    Converts ratios between U and V and between V and Y into ratio between U and Y

    Annotations
    @inline()
  13. def >>[Y <: MUnit](that: BaseIntRatio[V, Y]): BaseIntRatio[U, Y]

    Converts ratios between U and V and between V and Y into ratio between U and Y

    Converts ratios between U and V and between V and Y into ratio between U and Y

    Annotations
    @inline()
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def dividedBy[Y <: MUnit]: BaseIntRatio[U.Mul[dividedBy.Y.Invert], V.Mul[dividedBy.Y.Invert]]

    Converts a ratio between U and V into ratio between U/Y and V/Y

    Converts a ratio between U and V into ratio between U/Y and V/Y

    Annotations
    @inline()
  16. def dividing[Y <: MUnit]: BaseDoubleRatio[dividing.Y.Mul[U.Invert], dividing.Y.Mul[V.Invert]]

    Converts a ratio between U and V into ratio between Y/U and Y/V

    Converts a ratio between U and V into ratio between Y/U and Y/V

    Annotations
    @inline()
  17. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  18. def invert: BaseDoubleRatio[V, U]

    Converts a ratio between U and V into ratio between 1/U and 1/V

    Converts a ratio between U and V into ratio between 1/U and 1/V

    Annotations
    @inline()
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def pow2: BaseIntRatio[U.Mul[U], V.Mul[V]]

    Converts a ratio between U and V into ratio between U2 and V2

    Converts a ratio between U and V into ratio between U2 and V2

    Annotations
    @inline()
  21. def pow3: BaseIntRatio[MUnit.Mul.Mul[U], MUnit.Mul.Mul[V]]

    Converts a ratio between U and V into ratio between U3 and V3

    Converts a ratio between U and V into ratio between U3 and V3

    Annotations
    @inline()
  22. def pow4: BaseIntRatio[MUnit.Mul.Mul[U], MUnit.Mul.Mul[V]]

    Converts a ratio between U and V into ratio between U4 and V4

    Converts a ratio between U and V into ratio between U4 and V4

    Annotations
    @inline()
  23. def pow5: BaseIntRatio[MUnit.Mul.Mul[U], MUnit.Mul.Mul[V]]

    Converts a ratio between U and V into ratio between U5 and V5

    Converts a ratio between U and V into ratio between U5 and V5

    Annotations
    @inline()
  24. val ratio: Long

  25. def times[Y <: MUnit]: BaseIntRatio[U.Mul[Y], V.Mul[Y]]

    Converts a ratio between U and V into ratio between U×Y and V×Y

    Converts a ratio between U and V into ratio between U×Y and V×Y

    Annotations
    @inline()
  26. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped