Class/Object

io.github.karols.units

IntA

Related Docs: object IntA | package units

Permalink

final case class IntA[A <: AffineSpace](value: Long) extends AnyVal with Product with Serializable

64-bit signed integer representing a point in a 1-dimensional affine space.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntA
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntA(value: Long)

    Permalink

Value Members

  1. def !=(i: DoubleA[A]): Boolean

    Permalink
    Annotations
    @inline()
  2. def !=(i: IntA[A]): Boolean

    Permalink
    Annotations
    @inline()
  3. final def !=(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  5. def +(i: DoubleU[A.Unit]): DoubleA[A]

    Permalink

    Adds a difference value with the same unit.

    Adds a difference value with the same unit.

    Annotations
    @inline()
  6. def +(i: IntU[A.Unit]): IntA[A]

    Permalink

    Adds a difference value with the same unit.

    Adds a difference value with the same unit.

    Annotations
    @inline()
  7. def -(i: DoubleU[A.Unit]): DoubleA[A]

    Permalink

    Subtracts a difference value with the same unit.

    Subtracts a difference value with the same unit.

    Annotations
    @inline()
  8. def -(i: IntU[A.Unit]): IntA[A]

    Permalink

    Subtracts a difference value with the same unit.

    Subtracts a difference value with the same unit.

    Annotations
    @inline()
  9. def --(i: DoubleA[A]): DoubleU[A.Unit]

    Permalink

    Calculates a difference between two points in the affine space

    Calculates a difference between two points in the affine space

    Annotations
    @inline()
  10. def --(i: IntA[A]): IntU[A.Unit]

    Permalink

    Calculates a difference between two points in the affine space

    Calculates a difference between two points in the affine space

    Annotations
    @inline()
  11. def <(i: DoubleA[A]): Boolean

    Permalink
    Annotations
    @inline()
  12. def <(i: IntA[A]): Boolean

    Permalink
    Annotations
    @inline()
  13. def <=(i: DoubleA[A]): Boolean

    Permalink
    Annotations
    @inline()
  14. def <=(i: IntA[A]): Boolean

    Permalink
    Annotations
    @inline()
  15. def <=~[B <: AffineSpace](i: DoubleA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Permalink
    Annotations
    @inline()
  16. def <=~[B <: AffineSpace](i: IntA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Permalink
    Annotations
    @inline()
  17. def <~[B <: AffineSpace](i: DoubleA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Permalink
    Annotations
    @inline()
  18. def <~[B <: AffineSpace](i: IntA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Permalink
    Annotations
    @inline()
  19. def ==(i: DoubleA[A]): Boolean

    Permalink
    Annotations
    @inline()
  20. def ==(i: IntA[A]): Boolean

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

    Permalink
    Definition Classes
    Any
  22. def >(i: DoubleA[A]): Boolean

    Permalink
    Annotations
    @inline()
  23. def >(i: IntA[A]): Boolean

    Permalink
    Annotations
    @inline()
  24. def >=(i: DoubleA[A]): Boolean

    Permalink
    Annotations
    @inline()
  25. def >=(i: IntA[A]): Boolean

    Permalink
    Annotations
    @inline()
  26. def >=~[B <: AffineSpace](i: DoubleA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Permalink
    Annotations
    @inline()
  27. def >=~[B <: AffineSpace](i: IntA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Permalink
    Annotations
    @inline()
  28. def >~[B <: AffineSpace](i: DoubleA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

    Permalink
    Annotations
    @inline()
  29. def >~[B <: AffineSpace](i: IntA[B])(implicit ev: DoubleAffineSpaceConverter[A, B]): Boolean

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

    Permalink
    Definition Classes
    Any
  31. def changeUnit[U <: MUnit](implicit ev: DoubleRatio[A.Unit, U]): DoubleA[DefineAffineSpace[A.Zero, U]]

    Permalink

    Converts this point to another affine space, with the same zero point, but different unit.

    Converts this point to another affine space, with the same zero point, but different unit.

    Annotations
    @inline()
  32. def changeUnitInt[U <: MUnit](implicit ev: IntRatio[A.Unit, U]): IntA[DefineAffineSpace[A.Zero, U]]

    Permalink

    Converts this point to another affine space, with the same zero point, but different unit.

    Converts this point to another affine space, with the same zero point, but different unit.

    Annotations
    @inline()
  33. def convert[B <: AffineSpace](implicit ev: DoubleAffineSpaceConverter[A, B]): DoubleA[B]

    Permalink

    Converts this point to another affine space.

    Converts this point to another affine space.

    Annotations
    @inline()
  34. def convertToInt[B <: AffineSpace](implicit ev: IntAffineSpaceConverter[A, B]): IntA[B]

    Permalink

    Converts this point to another affine space.

    Converts this point to another affine space.

    Annotations
    @inline()
  35. def fromZero: IntU[A.Unit]

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

    Permalink
    Definition Classes
    AnyVal → Any
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. def mkString(implicit name: UnitName[A.Unit]): String

    Permalink
    Annotations
    @inline()
  39. def toDouble: DoubleA[A]

    Permalink
    Annotations
    @inline()
  40. val value: Long

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Ungrouped