Class/Object

io.github.karols.units

System2

Related Docs: object System2 | package units

Permalink

final class System2[U1 <: TSingleUnit, V1 <: MUnit, U2 <: TSingleUnit, V2 <: MUnit] extends AnyVal

Represents a system of units of measurements consisting of 2 units.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. System2
  2. AnyVal
  3. 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 &[U3 <: TSingleUnit, V3 <: MUnit, U4 <: TSingleUnit, V4 <: MUnit, U5 <: TSingleUnit, V5 <: MUnit, U6 <: TSingleUnit, V6 <: MUnit, U7 <: TSingleUnit, V7 <: MUnit, U8 <: TSingleUnit, V8 <: MUnit](s: System6[U3, V3, U4, V4, U5, V5, U6, V6, U7, V7, U8, V8]): System8[U1, V1, U2, V2, U3, V3, U4, V4, U5, V5, U6, V6, U7, V7, U8, V8]

    Permalink

    Merges two unit systems.

    Merges two unit systems.

    Annotations
    @inline()
  4. def &[U3 <: TSingleUnit, V3 <: MUnit, U4 <: TSingleUnit, V4 <: MUnit, U5 <: TSingleUnit, V5 <: MUnit, U6 <: TSingleUnit, V6 <: MUnit, U7 <: TSingleUnit, V7 <: MUnit](s: System5[U3, V3, U4, V4, U5, V5, U6, V6, U7, V7]): System7[U1, V1, U2, V2, U3, V3, U4, V4, U5, V5, U6, V6, U7, V7]

    Permalink

    Merges two unit systems.

    Merges two unit systems.

    Annotations
    @inline()
  5. def &[U3 <: TSingleUnit, V3 <: MUnit, U4 <: TSingleUnit, V4 <: MUnit, U5 <: TSingleUnit, V5 <: MUnit, U6 <: TSingleUnit, V6 <: MUnit](s: System4[U3, V3, U4, V4, U5, V5, U6, V6]): System6[U1, V1, U2, V2, U3, V3, U4, V4, U5, V5, U6, V6]

    Permalink

    Merges two unit systems.

    Merges two unit systems.

    Annotations
    @inline()
  6. def &[U3 <: TSingleUnit, V3 <: MUnit, U4 <: TSingleUnit, V4 <: MUnit, U5 <: TSingleUnit, V5 <: MUnit](s: System3[U3, V3, U4, V4, U5, V5]): System5[U1, V1, U2, V2, U3, V3, U4, V4, U5, V5]

    Permalink

    Merges two unit systems.

    Merges two unit systems.

    Annotations
    @inline()
  7. def &[U3 <: TSingleUnit, V3 <: MUnit, U4 <: TSingleUnit, V4 <: MUnit](s: System2[U3, V3, U4, V4]): System4[U1, V1, U2, V2, U3, V3, U4, V4]

    Permalink

    Merges two unit systems.

    Merges two unit systems.

    Annotations
    @inline()
  8. def &[U3 <: TSingleUnit, V3 <: MUnit](s: System1[U3, V3]): System3[U1, V1, U2, V2, U3, V3]

    Permalink

    Merges two unit systems.

    Merges two unit systems.

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

    Permalink
    Definition Classes
    Any
  10. val alwaysNull: Sys2

    Permalink
  11. def apply[N, U <: MUnit](x: WithU[N, MUnit.Substitute.Substitute[U2, V2]]): WithU[N, U]

    Permalink

    Converts a value in this system of measurements to a polymorphic value.

    Converts a value in this system of measurements to a polymorphic value. Has to be called with a type parameter.

    Annotations
    @inline()
  12. def apply[U <: MUnit](x: IntU[MUnit.Substitute.Substitute[U2, V2]]): IntU[U]

    Permalink

    Converts a value in this system of measurements to a polymorphic value.

    Converts a value in this system of measurements to a polymorphic value. Has to be called with a type parameter.

    Annotations
    @inline()
  13. def apply[U <: MUnit](x: DoubleU[MUnit.Substitute.Substitute[U2, V2]]): DoubleU[U]

    Permalink

    Converts a value in this system of measurements to a polymorphic value.

    Converts a value in this system of measurements to a polymorphic value. Has to be called with a type parameter.

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

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

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

    Permalink
    Definition Classes
    Any
  17. def map[N, U <: MUnit](x: WithU[N, U]): WithU[N, MUnit.Substitute.Substitute[U2, V2]]

    Permalink

    Converts a polymorphic value to a value in this system of measurements.

    Converts a polymorphic value to a value in this system of measurements.

    Annotations
    @inline()
  18. def map[U <: MUnit](x: IntU[U]): IntU[MUnit.Substitute.Substitute[U2, V2]]

    Permalink

    Converts a polymorphic value to a value in this system of measurements.

    Converts a polymorphic value to a value in this system of measurements.

    Annotations
    @inline()
  19. def map[U <: MUnit](x: DoubleU[U]): DoubleU[MUnit.Substitute.Substitute[U2, V2]]

    Permalink

    Converts a polymorphic value to a value in this system of measurements.

    Converts a polymorphic value to a value in this system of measurements.

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

    Permalink
    Definition Classes
    Any
  21. def unapply[N, U <: MUnit](x: WithU[N, U]): Some[WithU[N, MUnit.Substitute.Substitute[U2, V2]]]

    Permalink

    Converts a polymorphic value to a value in this system of measurements.

    Converts a polymorphic value to a value in this system of measurements.

    Annotations
    @inline()
  22. def unapply[U <: MUnit](x: IntU[U]): Some[IntU[MUnit.Substitute.Substitute[U2, V2]]]

    Permalink

    Converts a polymorphic value to a value in this system of measurements.

    Converts a polymorphic value to a value in this system of measurements.

    Annotations
    @inline()
  23. def unapply[U <: MUnit](x: DoubleU[U]): Some[DoubleU[MUnit.Substitute.Substitute[U2, V2]]]

    Permalink

    Converts a polymorphic value to a value in this system of measurements.

    Converts a polymorphic value to a value in this system of measurements.

    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped