Trait

squants

UnitConverter

Related Doc: package squants

Permalink

trait UnitConverter extends AnyRef

A Unit of Measure that require a simple multiplier for converting to and from the underlying value's unit

Self Type
UnitConverter with UnitOfMeasure[_]
Source
UnitOfMeasure.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Abcoulombs, AccelerationUnit, Acres, AmpereHours, Amperes, AngleUnit, Angstroms, AngularVelocityUnit, Arcminutes, Arcseconds, AreaUnit, AstronomicalUnits, Barnes, Bars, BarsPerSecond, BritishThermalUnits, BtusPerHour, Bytes, BytesPerSecond, Candelas, CandelasPerSquareMeter, CapacitanceUnit, Centilitres, Centimeters, ChemicalAmountUnit, ConductivityUnit, Coulombs, CubicFeet, CubicFeetPerHour, CubicInches, CubicMeters, CubicMetersPerSecond, CubicUsMiles, CubicYards, DataRateUnit, Days, Decameters, Decilitres, Decimeters, Degrees, DegreesPerSecond, DensityUnit, DimensionlessUnit, Dozen, Each, EarthGravities, ElectricChargeUnit, ElectricCurrentUnit, ElectricPotentialUnit, ElectricalConductanceUnit, ElectricalResistanceUnit, EnergyDensityUnit, EnergyUnit, Ergs, ErgsPerSecond, ErgsPerSecondPerSquareCentimeter, ErgsPerSecondPerSquareCentimeterPerAngstrom, Exabytes, ExabytesPerSecond, Exbibytes, ExbibytesPerSecond, Farads, Feet, FeetPerSecond, FeetPerSecondCubed, FeetPerSecondSquared, FluidOunces, ForceUnit, FrequencyUnit, GallonsPerDay, GallonsPerHour, GallonsPerMinute, GallonsPerSecond, Gauss, Gibibytes, GibibytesPerSecond, Gigabytes, GigabytesPerSecond, Gigahertz, Gigajoules, GigawattHours, Gigawatts, GigawattsPerHour, Gigohms, Gradians, GradsPerSecond, Grams, GramsPerSquareCentimeter, Grays, Gross, Hectares, Hectolitres, Hectometers, Henry, Hertz, Hours, IlluminanceUnit, ImperialCups, ImperialGallons, ImperialPints, ImperialQuarts, Inches, InductanceUnit, InformationUnit, InternationalMiles, InternationalMilesPerHour, IrradianceUnit, JerkUnit, Joules, JoulesPerCubicMeter, JoulesPerKelvin, Kelvin, Kibibytes, KibibytesPerSecond, Kilobytes, KilobytesPerSecond, Kilofarads, KilogramForce, Kilograms, KilogramsPerCubicMeter, KilogramsPerHectare, KilogramsPerSecond, KilogramsPerSquareMeter, Kilohertz, Kilohms, Kilojoules, Kilometers, KilometersPerHour, KilometersPerSecond, Kilopounds, KilopoundsPerHour, Kilovolts, KilowattHours, Kilowatts, KilowattsPerHour, KilowattsPerMinute, Knots, LengthUnit, LightYears, Litres, LumenSeconds, Lumens, LuminousEnergyUnit, LuminousExposureUnit, LuminousFluxUnit, LuminousIntensityUnit, Lux, LuxSeconds, MBtus, MMBtus, MagneticFluxDensityUnit, MagneticFluxUnit, MassFlowUnit, MassUnit, Mebibytes, MebibytesPerSecond, Megabytes, MegabytesPerSecond, Megahertz, Megajoules, Megapounds, MegapoundsPerHour, Megavolts, MegawattHours, Megawatts, MegawattsPerHour, Megohms, Meters, MetersPerSecond, MetersPerSecondCubed, MetersPerSecondSquared, Microcoulombs, Microfarads, Micrograms, Microjoules, Microlitres, Microns, Microohms, Microseconds, Microvolts, MilliampereHours, MilliampereSeconds, Milliamperes, Millicoulombs, Millifarads, Milligrams, Millijoules, Millilitres, Millimeters, Milliohms, Milliseconds, Millivolts, Milliwatts, Minutes, Moles, Nanocoulombs, Nanofarads, Nanohms, Nanojoules, Nanolitres, Nanometers, Nanoseconds, NauticalMiles, NewtonSeconds, Newtons, NewtonsPerSecond, Octets, OhmMeters, Ohms, Ounces, Pascals, PascalsPerSecond, Pebibytes, PebibytesPerSecond, Percent, Petabytes, PetabytesPerSecond, Picocoulombs, Picofarads, Picojoules, PoundForce, PoundMoles, Pounds, PoundsPerHour, PoundsPerSecond, PoundsPerSquareInch, PoundsPerSquareInchPerSecond, PowerRampUnit, PowerUnit, PressureChangeUnit, PressureUnit, PrimaryUnit, Radians, RadiansPerSecond, ResistivityUnit, RevolutionsPerMinute, Score, Seconds, Siemens, SiemensPerMeter, SpecificEnergyUnit, SpectralIrradianceUnit, SquareCentimeters, SquareFeet, SquareInches, SquareKilometers, SquareMeters, SquareUsMiles, SquareYards, SquaredRadians, StandardAtmospheres, StandardAtmospheresPerSecond, Tablespoons, Teaspoons, Tebibytes, TebibytesPerSecond, Terabytes, TerabytesPerSecond, Terahertz, Terajoules, Teslas, ThermalCapacityUnit, TimeUnit, Tonnes, Turns, TurnsPerSecond, UsCups, UsDryCups, UsDryGallons, UsDryPints, UsDryQuarts, UsGallons, UsMiles, UsMilesPerHour, UsMilesPerHourSquared, UsPints, UsQuarts, VelocityUnit, Volts, VolumeFlowRateUnit, VolumeUnit, WattHours, Watts, WattsPerCubicMeter, WattsPerHour, WattsPerMeter, WattsPerMinute, WattsPerSquareMeter, WattsPerSquareMeterPerMicron, WattsPerSquareMeterPerNanometer, WattsPerSteradian, WattsPerSteradianPerMeter, WattsPerSteradianPerSquareMeter, Webers, YankUnit, Yards, Yobibytes, YobibytesPerSecond, Yottabytes, YottabytesPerSecond, Zebibytes, ZebibytesPerSecond, Zettabytes, ZettabytesPerSecond
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnitConverter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def conversionFactor: Double

    Permalink

    Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

    Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

    Attributes
    protected

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def converterFrom: (Double) ⇒ Double

    Permalink

    Implements the converterFrom method as a simple product of the value and the multiplier

    Implements the converterFrom method as a simple product of the value and the multiplier

    Attributes
    protected
  7. def converterTo: (Double) ⇒ Double

    Permalink

    Implements the converterTo method as a simple quotient of the value and the multiplier

    Implements the converterTo method as a simple quotient of the value and the multiplier

    Attributes
    protected
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped