Class/Object

io.github.karols.units

System1

Related Docs: object System1 | package units

Permalink

final class System1[U1 <: TSingleUnit, V1 <: MUnit] extends AnyVal

Represents a system of units of measurements consisting of 1 unit.

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

    Permalink

    Merges two unit systems.

    Merges two unit systems.

    Annotations
    @inline()
  9. def &[U2 <: TSingleUnit, V2 <: MUnit](s: System1[U2, V2]): System2[U1, V1, U2, V2]

    Permalink

    Merges two unit systems.

    Merges two unit systems.

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

    Permalink
    Definition Classes
    Any
  11. val alwaysNull: Sys1

    Permalink
  12. def apply[N, U <: MUnit](x: WithU[N, apply.U.Substitute[U1, V1]]): 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()
  13. def apply[U <: MUnit](x: IntU[apply.U.Substitute[U1, V1]]): 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()
  14. def apply[U <: MUnit](x: DoubleU[apply.U.Substitute[U1, V1]]): 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()
  15. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    Any
  18. def map[N, U <: MUnit](x: WithU[N, U]): WithU[N, map.U.Substitute[U1, V1]]

    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: IntU[U]): IntU[map.U.Substitute[U1, V1]]

    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 map[U <: MUnit](x: DoubleU[U]): DoubleU[map.U.Substitute[U1, V1]]

    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()
  21. def toString(): String

    Permalink
    Definition Classes
    Any
  22. def unapply[N, U <: MUnit](x: WithU[N, U]): Some[WithU[N, unapply.U.Substitute[U1, V1]]]

    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: IntU[U]): Some[IntU[unapply.U.Substitute[U1, V1]]]

    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()
  24. def unapply[U <: MUnit](x: DoubleU[U]): Some[DoubleU[unapply.U.Substitute[U1, V1]]]

    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