Package edu.wpi.first.units

  • Interface Summary 
    Interface Description
    Measure<U extends Unit<U>>
    A measure holds the magnitude and unit of some dimension, such as distance, time, or speed.
    UnaryFunction
    A function that accepts a single double and returns a double result.
  • Class Summary 
    Class Description
    Angle
    Unit of angular dimension.
    BaseUnits
    The base units of measure.
    Current
    Unit of electic current dimension.
    Dimensionless
    A type of unit that corresponds to raw values and not any physical dimension, such as percentage.
    Distance
    Unit of linear dimension.
    Energy
    Unit of energy dimension.
    ImmutableMeasure<U extends Unit<U>>
    A measure holds the magnitude and unit of some dimension, such as distance, time, or speed.
    Mass
    Unit of mass dimension.
    Mult<A extends Unit<A>,​B extends Unit<B>>
    A combinatory unit type that is equivalent to the product of two other others.
    MutableMeasure<U extends Unit<U>>
    A specialization of Measure that allows for mutability.
    Per<N extends Unit<N>,​D extends Unit<D>>
    Generic combinatory unit type that represents the proportion of one unit to another, such as Meters per Second or Radians per Celsius.
    Power
    Unit of power dimension.
    Temperature
    Unit of temperature dimension.
    Time
    Unit of time dimension.
    Unit<U extends Unit<U>>
    Unit of measurement that defines a quantity, such as grams, meters, or seconds.
    UnitBuilder<U extends Unit<U>>
    Builder used for easily deriving new units from existing ones.
    Units
    Contains a set of predefined units.
    Velocity<D extends Unit<D>>
    Unit of velocity dimension that is a combination of a distance unit (numerator) and a time unit (denominator).
    Voltage
    Unit of electric voltage dimension.