Package-level declarations

Types

Link copied to clipboard
open class Angle : Unit<U>
Unit of angular dimension.
Link copied to clipboard
class BaseUnits
The base units of measure.
Link copied to clipboard
open class Current : Unit<U>
Unit of electric current dimension.
Link copied to clipboard
open class Dimensionless : Unit<U>
A type of unit that corresponds to raw values and not any physical dimension, such as percentage.
Link copied to clipboard
open class Distance : Unit<U>
Unit of linear dimension.
Link copied to clipboard
open class Energy : Unit<U>
Unit of energy dimension.
Link copied to clipboard

A measure holds the magnitude and unit of some dimension, such as distance, time, or speed. An immutable measure is immutable and type safe, making it easy to use in concurrent situations and gives compile-time safety. Two measures with the same unit and magnitude are effectively equivalent objects.

Link copied to clipboard
open class Mass : Unit<U>
Unit of mass dimension.
Link copied to clipboard
interface Measure<U : Unit<U>> : Comparable<Measure<U>>

A measure holds the magnitude and unit of some dimension, such as distance, time, or speed. Two measures with the same unit and magnitude are effectively equivalent objects.

Link copied to clipboard
open class Mult<A : Unit<A>?, B : Unit<B>?> : Unit<U>
A combinatory unit type that is equivalent to the product of two other others.
Link copied to clipboard
class MutableMeasure<U : Unit<U>> : Measure<U>

A specialization of Measure that allows for mutability. This is intended to be used for memory use reasons (such as on the memory-restricted roboRIO 1 or 2 or SBC coprocessors) and should NOT be exposed in the public API for a class that uses it.

Link copied to clipboard
open class Per<N : Unit<N>?, D : Unit<D>?> : Unit<U>
Generic combinatory unit type that represents the proportion of one unit to another, such as Meters per Second or Radians per Celsius.
Link copied to clipboard
open class Power : Unit<U>
Unit of power dimension.
Link copied to clipboard
open class Temperature : Unit<U>
Unit of temperature dimension.
Link copied to clipboard
open class Time : Unit<U>
Unit of time dimension.
Link copied to clipboard
A function that accepts a single double and returns a double result.
Link copied to clipboard
open class Unit<U : Unit<U>>(baseUnit: U?, toBaseConverter: UnaryFunction, fromBaseConverter: UnaryFunction, name: String, symbol: String)

Unit of measurement that defines a quantity, such as grams, meters, or seconds.

Link copied to clipboard
class UnitBuilder<U : Unit<U>?>
Builder used for easily deriving new units from existing ones.
Link copied to clipboard
class Units
Contains and exposes a set of predefined units.
Link copied to clipboard
open class Velocity<D : Unit<D>?> : Unit<U>
Unit of velocity dimension that is a combination of a distance unit (numerator) and a time unit (denominator).
Link copied to clipboard
open class Voltage : Unit<U>
Unit of electric voltage dimension.