Uses of Class
javax.measure.unit.Unit

Packages that use Unit
javax.measure Provides strongly typed measurements to enforce compile-time check of parameters consistency and avoid interface errors. 
javax.measure.quantity Provides quantitative properties or attributes of thing such as mass, time, distance, heat, and angular separation. 
javax.measure.unit Provides support for programatic unit handling. 
 

Uses of Unit in javax.measure
 

Methods in javax.measure that return Unit
abstract  Unit<Q> Measure.getUnit()
          Returns the measurement unit of this measure.
 Unit<Q> DecimalMeasure.getUnit()
           
 

Methods in javax.measure with parameters of type Unit
abstract  double VectorMeasure.doubleValue(Unit<Q> unit)
          Returns the norm of this measurement vector stated in the specified unit.
abstract  double Measure.doubleValue(Unit<Q> unit)
          Returns the value of this measure stated in the specified unit as a double.
 double Measurable.doubleValue(Unit<Q> unit)
          Returns the value of this measurable stated in the specified unit as a double.
 double DecimalMeasure.doubleValue(Unit<Q> unit)
           
 float Measure.floatValue(Unit<Q> unit)
          Returns the value of this measure stated in the specified unit as a float.
 int Measure.intValue(Unit<Q> unit)
          Returns the estimated integral value of this measure stated in the specified unit as a int.
 long Measure.longValue(Unit<Q> unit)
          Returns the estimated integral value of this measure stated in the specified unit as a long.
 long Measurable.longValue(Unit<Q> unit)
          Returns the estimated integral value of this measurable stated in the specified unit as a long.
abstract  VectorMeasure<Q> VectorMeasure.to(Unit<Q> unit)
          Returns the measurement vector equivalent to this one but stated in the specified unit.
abstract  Measure<V,Q> Measure.to(Unit<Q> unit)
          Returns the measure equivalent to this measure but stated in the specified unit.
 DecimalMeasure<Q> DecimalMeasure.to(Unit<Q> unit)
          Returns the decimal measure equivalent to this measure but stated in the specified unit.
 DecimalMeasure<Q> DecimalMeasure.to(Unit<Q> unit, java.math.MathContext mathContext)
          Returns the decimal measure equivalent to this measure but stated in the specified unit, the conversion is performed using the specified math context.
static
<Q extends Quantity>
Measure<java.math.BigDecimal,Q>
Measure.valueOf(java.math.BigDecimal decimal, Unit<Q> unit)
          Deprecated. DecimalMeasure should be used directly.
static
<Q extends Quantity>
DecimalMeasure<Q>
DecimalMeasure.valueOf(java.math.BigDecimal decimal, Unit<Q> unit)
          Returns the decimal measure for the specified number stated in the specified unit.
static
<Q extends Quantity>
Measure<java.math.BigDecimal,Q>
Measure.valueOf(java.math.BigDecimal decimal, Unit<Q> unit, java.math.MathContext mathContext)
          Deprecated. DecimalMeasure should be used directly and MathContext specified explicitly when converting.
static
<Q extends Quantity>
VectorMeasure<Q>
VectorMeasure.valueOf(double[] components, Unit<Q> unit)
          Returns a multi-dimensional measurement vector.
static
<Q extends Quantity>
Measure<double[],Q>
Measure.valueOf(double[] components, Unit<Q> unit)
          Deprecated. VectorMeasure should be used directly.
static
<Q extends Quantity>
VectorMeasure<Q>
VectorMeasure.valueOf(double x, double y, double z, Unit<Q> unit)
          Returns a 3-dimensional measurement vector.
static
<Q extends Quantity>
VectorMeasure<Q>
VectorMeasure.valueOf(double x, double y, Unit<Q> unit)
          Returns a 2-dimensional measurement vector.
static
<Q extends Quantity>
Measure<java.lang.Double,Q>
Measure.valueOf(double doubleValue, Unit<Q> unit)
          Returns the scalar measure for the specified double stated in the specified unit.
static
<Q extends Quantity>
Measure<java.lang.Float,Q>
Measure.valueOf(float floatValue, Unit<Q> unit)
          Returns the scalar measure for the specified float stated in the specified unit.
static
<Q extends Quantity>
Measure<java.lang.Integer,Q>
Measure.valueOf(int intValue, Unit<Q> unit)
          Returns the scalar measure for the specified int stated in the specified unit.
static
<Q extends Quantity>
Measure<java.lang.Long,Q>
Measure.valueOf(long longValue, Unit<Q> unit)
          Returns the scalar measure for the specified double stated in the specified unit.
 

Constructors in javax.measure with parameters of type Unit
DecimalMeasure(java.math.BigDecimal value, Unit<Q> unit)
          Creates a decimal measure for the specified number stated in the specified unit.
 

Uses of Unit in javax.measure.quantity
 

Fields in javax.measure.quantity declared as Unit
static Unit<VolumetricFlowRate> VolumetricFlowRate.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<VolumetricDensity> VolumetricDensity.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Volume> Volume.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Velocity> Velocity.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Torque> Torque.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Temperature> Temperature.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<SolidAngle> SolidAngle.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<RadioactiveActivity> RadioactiveActivity.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<RadiationDoseEffective> RadiationDoseEffective.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<RadiationDoseAbsorbed> RadiationDoseAbsorbed.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Pressure> Pressure.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Power> Power.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<MassFlowRate> MassFlowRate.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Mass> Mass.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<MagneticFluxDensity> MagneticFluxDensity.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<MagneticFlux> MagneticFlux.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<LuminousIntensity> LuminousIntensity.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<LuminousFlux> LuminousFlux.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Length> Length.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<KinematicViscosity> KinematicViscosity.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Illuminance> Illuminance.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Frequency> Frequency.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Force> Force.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Energy> Energy.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<ElectricResistance> ElectricResistance.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<ElectricPotential> ElectricPotential.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<ElectricInductance> ElectricInductance.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<ElectricCurrent> ElectricCurrent.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<ElectricConductance> ElectricConductance.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<ElectricCharge> ElectricCharge.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<ElectricCapacitance> ElectricCapacitance.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<DynamicViscosity> DynamicViscosity.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Duration> Duration.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Dimensionless> Dimensionless.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<DataRate> DataRate.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<DataAmount> DataAmount.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<CatalyticActivity> CatalyticActivity.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Area> Area.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<AngularVelocity> AngularVelocity.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<AngularAcceleration> AngularAcceleration.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Angle> Angle.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<AmountOfSubstance> AmountOfSubstance.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
static Unit<Acceleration> Acceleration.UNIT
          Holds the SI unit (Système International d'Unités) for this quantity.
 

Uses of Unit in javax.measure.unit
 

Subclasses of Unit in javax.measure.unit
 class AlternateUnit<Q extends Quantity>
           This class represents the units used in expressions to distinguish between quantities of a different nature but of the same dimensions.
 class BaseUnit<Q extends Quantity>
           This class represents the building blocks on top of which all others units are created.
 class CompoundUnit<Q extends Quantity>
           This class represents the multi-radix units (such as "hour:min:sec").
 class DerivedUnit<Q extends Quantity>
           This class identifies the units created by combining or transforming other units.
 class ProductUnit<Q extends Quantity>
           This class represents units formed by the product of rational powers of existing units.
 class TransformedUnit<Q extends Quantity>
           This class represents the units derived from other units using converters.
 

Fields in javax.measure.unit declared as Unit
static Unit<Length> NonSI.ANGSTROM
          A unit of length equal to 1E-10 m (standard name Å).
static Unit<Area> NonSI.ARE
          A unit of area equal to 100 m² (standard name a).
static Unit<Length> NonSI.ASTRONOMICAL_UNIT
          A unit of length equal to the average distance from the center of the Earth to the center of the Sun (standard name ua).
static Unit<Pressure> NonSI.ATMOSPHERE
          A unit of pressure equal to the average pressure of the Earth's atmosphere at sea level (standard name atm).
static Unit<AmountOfSubstance> NonSI.ATOM
          A unit of amount of substance equals to one atom (standard name atom).
static Unit<Mass> NonSI.ATOMIC_MASS
          A unit of mass equal to 1/12 the mass of the carbon-12 atom (standard name u).
static Unit<Pressure> NonSI.BAR
          A unit of pressure equal to 100 kPa (standard name bar).
static Unit<DataAmount> NonSI.BYTE
          A unit of data amount equal to 8 SI.BIT (BinarY TErm, standard name byte).
static Unit<Velocity> NonSI.C
          A unit of velocity relative to the speed of light (standard name c).
static Unit<Temperature> SI.CELSIUS
          The derived unit for Celsius temperature ().
static Unit<Length> SI.CENTIMETER
          Equivalent to SI.CENTIMETRE.
static Unit<Length> SI.CENTIMETRE
          Equivalent to CENTI(METRE).
static Unit<Angle> NonSI.CENTIRADIAN
          A unit of angle equal to 0.01 SI.RADIAN (standard name centiradian).
static Unit<Length> NonSI.COMPUTER_POINT
          Equivalent NonSI.PIXEL
static Unit<Volume> NonSI.CUBIC_INCH
          A unit of volume equal to one cubic inch (in³).
static Unit<Volume> SI.CUBIC_METRE
          The metric unit for volume quantities ().
static Unit<RadioactiveActivity> NonSI.CURIE
          A unit of radioctive activity equal to the activity of a gram of radium (standard name Ci).
static Unit<Duration> NonSI.DAY
          A unit of duration equal to 24 NonSI.HOUR (standard name d).
static Unit<Duration> NonSI.DAY_SIDEREAL
          A unit of duration equal to the time required for a complete rotation of the earth in reference to any star or to the vernal equinox at the meridian, equal to 23 hours, 56 minutes, 4.09 seconds (standard name day_sidereal).
static Unit<Dimensionless> NonSI.DECIBEL
          A logarithmic unit used to describe a ratio (standard name dB).
static Unit<Angle> NonSI.DEGREE_ANGLE
          A unit of angle equal to 1/360 NonSI.REVOLUTION (standard name °).
static Unit<Force> NonSI.DYNE
          A unit of force equal to 1E-5 N (standard name dyn).
static Unit<ElectricCharge> NonSI.E
          A unit of electric charge equal to the charge on one electron (standard name e).
static Unit<Mass> NonSI.ELECTRON_MASS
          A unit of mass equal to the mass of the electron (standard name me).
static Unit<Energy> NonSI.ELECTRON_VOLT
          A unit of energy equal to one electron-volt (standard name eV, also recognized keV, MeV, GeV).
static Unit<Energy> NonSI.ERG
          A unit of energy equal to 1E-7 J (standard name erg).
static Unit<Temperature> NonSI.FAHRENHEIT
          A unit of temperature equal to degree Rankine minus 459.67 °R (standard name °F).
static Unit<ElectricCharge> NonSI.FARADAY
          A unit of electric charge equal to equal to the product of Avogadro's number (see SI.MOLE) and the charge (1 e) on a single electron (standard name Fd).
static Unit<Length> NonSI.FOOT
          A unit of length equal to 0.3048 m (standard name ft).
static Unit<Length> NonSI.FOOT_SURVEY_US
          A unit of length equal to 1200/3937 m (standard name foot_survey_us).
static Unit<ElectricCharge> NonSI.FRANKLIN
          A unit of electric charge which exerts a force of one dyne on an equal charge at a distance of one centimeter (standard name Fr).
static Unit<Acceleration> NonSI.G
          A unit of acceleration equal to the gravity at the earth's surface (standard name grav).
static Unit<Volume> NonSI.GALLON_DRY_US
          A unit of volume equal to one US dry gallon.
static Unit<Volume> NonSI.GALLON_LIQUID_US
          A unit of volume equal to one US gallon, Liquid Unit.
static Unit<Volume> NonSI.GALLON_UK
          A unit of volume equal to 4.546 09 NonSI.LITRE (standard name gal_uk).
static Unit<MagneticFluxDensity> NonSI.GAUSS
          A unit of magnetic flux density equal 1000 A/m (standard name G).
static Unit<ElectricCurrent> NonSI.GILBERT
          A unit of electric charge equal to the centimeter-gram-second electromagnetic unit of magnetomotive force, equal to 10/4 πampere-turn (standard name Gi).
static Unit<Angle> NonSI.GRADE
          A unit of angle measure equal to 1/400 NonSI.REVOLUTION (standard name grade).
static Unit<Mass> SI.GRAM
          The derived unit for mass quantities (g).
static Unit<Area> NonSI.HECTARE
          A unit of area equal to 100 NonSI.ARE (standard name ha).
static Unit<Power> NonSI.HORSEPOWER
          A unit of power equal to the power required to raise a mass of 75 kilograms at a velocity of 1 meter per second (metric, standard name hp).
static Unit<Duration> NonSI.HOUR
          A unit of duration equal to 60 NonSI.MINUTE (standard name h).
static Unit<Length> NonSI.INCH
          A unit of length equal to 0.0254 m (standard name in).
static Unit<Pressure> NonSI.INCH_OF_MERCURY
          A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 inch high (standard name inHg).
static Unit<Force> NonSI.KILOGRAM_FORCE
          A unit of force equal to 9.80665 N (standard name kgf).
static Unit<Length> SI.KILOMETER
          Equivalent to SI.KILOMETRE.
static Unit<Velocity> NonSI.KILOMETERS_PER_HOUR
          Equivalent to NonSI.KILOMETRES_PER_HOUR.
static Unit<Length> SI.KILOMETRE
          Equivalent to KILO(METRE).
static Unit<Velocity> NonSI.KILOMETRES_PER_HOUR
          A unit of velocity expressing the number of SI.KILOMETRE per hour.
static Unit<Velocity> NonSI.KNOT
          A unit of velocity expressing the number of nautical miles per hour (abbreviation kn).
static Unit<Illuminance> NonSI.LAMBERT
          A unit of illuminance equal to 1E4 Lx (standard name La).
static Unit<Length> NonSI.LIGHT_YEAR
          A unit of length equal to the distance that light travels in one year through a vacuum (standard name ly).
static Unit<Volume> NonSI.LITER
          Equivalent to NonSI.LITRE (American spelling).
static Unit<Volume> NonSI.LITRE
          A unit of volume equal to one cubic decimeter (default label L, also recognized µL, mL, cL, dL).
static Unit<Velocity> NonSI.MACH
          A unit of velocity to express the speed of an aircraft relative to the speed of sound (standard name Mach).
static Unit<MagneticFlux> NonSI.MAXWELL
          A unit of magnetic flux equal 1E-8 Wb (standard name Mx).
static Unit<Length> SI.METER
          Equivalent to SI.METRE (American spelling).
static Unit<Velocity> SI.METERS_PER_SECOND
          Equivalent to SI.METRES_PER_SECOND.
static Unit<Acceleration> SI.METERS_PER_SQUARE_SECOND
          Equivalent to SI.METRES_PER_SQUARE_SECOND.
static Unit<Velocity> SI.METRE_PER_SECOND
          Deprecated. replaced by SI.METRES_PER_SECOND.
static Unit<Acceleration> SI.METRE_PER_SQUARE_SECOND
          Deprecated. replaced by SI.METRES_PER_SQUARE_SECOND.
static Unit<Velocity> SI.METRES_PER_SECOND
          The metric unit for velocity quantities (m/s).
static Unit<Acceleration> SI.METRES_PER_SQUARE_SECOND
          The metric unit for acceleration quantities (m/s²).
static Unit<Mass> NonSI.METRIC_TON
          A unit of mass equal to 1000 kg (metric ton, standard name t).
static Unit<Length> NonSI.MILE
          A unit of length equal to 1609.344 m (standard name mi).
static Unit<Velocity> NonSI.MILES_PER_HOUR
          A unit of velocity expressing the number of international miles per hour (abbreviation mph).
static Unit<Length> SI.MILLIMETER
          Equivalent to SI.MILLIMETRE.
static Unit<Pressure> NonSI.MILLIMETER_OF_MERCURY
          A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 millimeter high (standard name mmHg).
static Unit<Length> SI.MILLIMETRE
          Equivalent to MILLI(METRE).
static Unit<Duration> NonSI.MINUTE
          A unit of duration equal to 60 s (standard name min).
static Unit<Angle> NonSI.MINUTE_ANGLE
          A unit of angle equal to 1/60 NonSI.DEGREE_ANGLE (standard name ).
static Unit<Duration> NonSI.MONTH
          A unit of duration equal to one twelfth of a year (standard name month).
static Unit<Length> NonSI.NAUTICAL_MILE
          A unit of length equal to 1852.0 m (standard name nmi).
static Unit<DataAmount> NonSI.OCTET
          Equivalent NonSI.BYTE
static Unit<Dimensionless> Unit.ONE
          Holds the dimensionless unit ONE.
static Unit<Mass> NonSI.OUNCE
          A unit of mass equal to 1 / 16 NonSI.POUND (standard name oz).
static Unit<Volume> NonSI.OUNCE_LIQUID_UK
          A unit of volume equal to 1 / 160 NonSI.GALLON_UK (standard name oz_fl_uk).
static Unit<Volume> NonSI.OUNCE_LIQUID_US
          A unit of volume equal to 1 / 128 NonSI.GALLON_LIQUID_US (standard name oz_fl).
static Unit<Length> NonSI.PARSEC
          A unit of length equal to the distance at which a star would appear to shift its position by one arcsecond over the course the time (about 3 months) in which the Earth moves a distance of NonSI.ASTRONOMICAL_UNIT in the direction perpendicular to the direction to the star (standard name pc).
static Unit<Dimensionless> NonSI.PERCENT
          A dimensionless unit equals to 0.01 (standard name %).
static Unit<Length> NonSI.PIXEL
          A unit of length equal to 1/72 NonSI.INCH (standard name pixel).
static Unit<Length> NonSI.POINT
          A unit of length equal to 0.013837 NonSI.INCH exactly (standard name pt).
static Unit<DynamicViscosity> NonSI.POISE
          A unit of dynamic viscosity equal to 1 g/(cm·s) (cgs unit).
static Unit<Mass> NonSI.POUND
          A unit of mass equal to 453.59237 grams (avoirdupois pound, standard name lb).
static Unit<Force> NonSI.POUND_FORCE
          A unit of force equal to NonSI.POUND·NonSI.G (standard name lbf).
static Unit<RadiationDoseAbsorbed> NonSI.RAD
          A unit of radiation dose absorbed equal to a dose of 0.01 joule of energy per kilogram of mass (J/kg) (standard name rd).
static Unit<Temperature> NonSI.RANKINE
          A unit of temperature equal to 5/9 °K (standard name °R).
static Unit<RadiationDoseEffective> NonSI.REM
          A unit of radiation dose effective equal to 0.01 Sv (standard name rem).
static Unit<Angle> NonSI.REVOLUTION
          A unit of angle equal to a full circle or 2π SI.RADIAN (standard name rev).
static Unit<?> NonSI.ROENTGEN
          A unit used to measure the ionizing ability of radiation (standard name Roentgen).
static Unit<RadioactiveActivity> NonSI.RUTHERFORD
          A unit of radioctive activity equal to 1 million radioactive disintegrations per second (standard name Rd).
static Unit<Angle> NonSI.SECOND_ANGLE
          A unit of angle equal to 1/60 NonSI.MINUTE_ANGLE (standard name ").
static Unit<SolidAngle> NonSI.SPHERE
          A unit of solid angle equal to 4 π steradians (standard name sphere).
static Unit<Area> SI.SQUARE_METRE
          The metric unit for area quantities ().
static Unit<KinematicViscosity> NonSI.STOKE
          A unit of kinematic viscosity equal to 1 cm²/s (cgs unit).
static Unit<Mass> NonSI.TON_UK
          A unit of mass equal to 2240 NonSI.POUND (long ton, standard name ton_uk).
static Unit<Mass> NonSI.TON_US
          A unit of mass equal to 2000 NonSI.POUND (short ton, standard name ton_us).
static Unit<Duration> NonSI.WEEK
          A unit of duration equal to 7 NonSI.DAY (standard name week).
static Unit<Length> NonSI.YARD
          A unit of length equal to 0.9144 m (standard name yd).
static Unit<Duration> NonSI.YEAR
          A unit of duration equal to 365 days, 5 hours, 49 minutes, and 12 seconds (standard name year).
static Unit<Duration> NonSI.YEAR_CALENDAR
          A unit of duration equal to 365 NonSI.DAY (standard name year_calendar).
static Unit<Duration> NonSI.YEAR_SIDEREAL
          A unit of duration equal to one complete revolution of the earth about the sun, relative to the fixed stars, or 365 days, 6 hours, 9 minutes, 9.54 seconds (standard name year_sidereal).
 

Methods in javax.measure.unit that return Unit
<T extends Quantity>
Unit<T>
Unit.asType(java.lang.Class<T> type)
          Casts this unit to a parameterized unit of specified nature or throw a ClassCastException if the dimension of the specified quantity and this unit's dimension do not match.
static
<Q extends Quantity>
Unit<Q>
SI.ATTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-18
static
<Q extends Quantity>
Unit<Q>
SI.CENTI(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-2
static
<Q extends Quantity>
Unit<Q>
SI.DECI(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-1
static
<Q extends Quantity>
Unit<Q>
SI.DEKA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 101
 Unit<Q> Unit.divide(double divisor)
          Returns the result of dividing this unit by an approximate divisor.
 Unit<Q> Unit.divide(long divisor)
          Returns the result of dividing this unit by an exact divisor.
 Unit<? extends Quantity> Unit.divide(Unit<?> that)
          Returns the quotient of this unit with the one specified.
static
<Q extends Quantity>
Unit<Q>
SI.EXA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1018
static
<Q extends Quantity>
Unit<Q>
SI.FEMTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-15
 Unit<Q> CompoundUnit.getHigher()
          Returns the higher unit of this compound unit.
 Unit<Q> CompoundUnit.getLower()
          Returns the lower unit of this compound unit.
 Unit<? super Q> AlternateUnit.getParent()
          Returns the parent unit from which this alternate unit is derived (a system unit itself).
 Unit<Q> TransformedUnit.getParentUnit()
          Returns the parent unit for this unit.
abstract  Unit<? super Q> Unit.getStandardUnit()
          Returns the base unit, alternate unit or product of base units and alternate units this unit is derived from.
 Unit<? super Q> TransformedUnit.getStandardUnit()
           
 Unit<? super Q> ProductUnit.getStandardUnit()
           
 Unit<? super Q> CompoundUnit.getStandardUnit()
           
 Unit<? super Q> BaseUnit.getStandardUnit()
           
 Unit<? super Q> AlternateUnit.getStandardUnit()
           
 Unit<? extends Quantity> ProductUnit.getUnit(int index)
          Returns the unit at the specified position.
static
<Q extends Quantity>
Unit<Q>
SI.GIGA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 109
static
<Q extends Quantity>
Unit<Q>
SI.HECTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 102
 Unit<? extends Quantity> Unit.inverse()
          Returns the inverse of this unit.
static
<Q extends Quantity>
Unit<Q>
SI.KILO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 103
static
<Q extends Quantity>
Unit<Q>
SI.MEGA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 106
static
<Q extends Quantity>
Unit<Q>
SI.MICRO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-6
static
<Q extends Quantity>
Unit<Q>
SI.MILLI(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-3
static
<Q extends Quantity>
Unit<Q>
SI.NANO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-9
 Unit<?> UnitFormat.parseObject(java.lang.String source, java.text.ParsePosition pos)
          Parses the text from a string to produce an object (implements java.text.Format).
abstract  Unit<? extends Quantity> UnitFormat.parseProductUnit(java.lang.CharSequence csq, java.text.ParsePosition pos)
          Parses a sequence of character to produce a unit or a rational product of unit.
 Unit<? extends Quantity> UnitFormat.DefaultFormat.parseProductUnit(java.lang.CharSequence csq, java.text.ParsePosition pos)
           
abstract  Unit<? extends Quantity> UnitFormat.parseSingleUnit(java.lang.CharSequence csq, java.text.ParsePosition pos)
          Parses a sequence of character to produce a single unit.
 Unit<? extends Quantity> UnitFormat.DefaultFormat.parseSingleUnit(java.lang.CharSequence csq, java.text.ParsePosition pos)
           
static
<Q extends Quantity>
Unit<Q>
SI.PETA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1015
static
<Q extends Quantity>
Unit<Q>
SI.PICO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-12
 Unit<Q> Unit.plus(double offset)
          Returns the result of adding an offset to this unit.
 Unit<? extends Quantity> Unit.pow(int n)
          Returns a unit equals to this unit raised to an exponent.
 Unit<? extends Quantity> Unit.root(int n)
          Returns a unit equals to the given root of this unit.
static
<Q extends Quantity>
Unit<Q>
SI.TERA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1012
 Unit<Q> Unit.times(double factor)
          Returns the result of multiplying this unit by a an approximate factor
 Unit<Q> Unit.times(long factor)
          Returns the result of multiplying this unit by an exact factor.
 Unit<? extends Quantity> Unit.times(Unit<?> that)
          Returns the product of this unit with the one specified.
 Unit<Q> Unit.transform(UnitConverter operation)
          Returns the unit derived from this unit using the specified converter.
 Unit<?> UnitFormat.DefaultFormat.unitFor(java.lang.String name)
           
 Unit<?> UnitFormat.ASCIIFormat.unitFor(java.lang.String name)
           
static Unit<? extends Quantity> Unit.valueOf(java.lang.CharSequence csq)
          Returns a unit instance that is defined from the specified character sequence using the standard unit format.
static
<Q extends Quantity>
Unit<Q>
SI.YOCTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-24
static
<Q extends Quantity>
Unit<Q>
SI.YOTTA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1024
static
<Q extends Quantity>
Unit<Q>
SI.ZEPTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-21
static
<Q extends Quantity>
Unit<Q>
SI.ZETTA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1021
 

Methods in javax.measure.unit that return types with arguments of type Unit
abstract  java.util.Set<Unit<?>> SystemOfUnits.getUnits()
          Returns a read only view over the units defined in this system.
 java.util.Set<Unit<?>> SI.getUnits()
          Returns a read only view over theunits defined in this class.
 java.util.Set<Unit<?>> NonSI.getUnits()
          Returns a read only view over the units defined in this class.
 

Methods in javax.measure.unit with parameters of type Unit
abstract  void UnitFormat.alias(Unit<?> unit, java.lang.String alias)
          Attaches a system-wide alias to this unit.
 void UnitFormat.DefaultFormat.alias(Unit<?> unit, java.lang.String alias)
           
static
<Q extends Quantity>
Unit<Q>
SI.ATTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-18
static
<Q extends Quantity>
Unit<Q>
SI.CENTI(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-2
 CompoundUnit<Q> Unit.compound(Unit<Q> subunit)
          Returns the combination of this unit with the specified sub-unit.
static
<Q extends Quantity>
Unit<Q>
SI.DECI(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-1
static
<Q extends Quantity>
Unit<Q>
SI.DEKA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 101
 Unit<? extends Quantity> Unit.divide(Unit<?> that)
          Returns the quotient of this unit with the one specified.
static
<Q extends Quantity>
Unit<Q>
SI.EXA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1018
static
<Q extends Quantity>
Unit<Q>
SI.FEMTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-15
abstract  java.lang.Appendable UnitFormat.format(Unit<?> unit, java.lang.Appendable appendable)
          Formats the specified unit.
 java.lang.Appendable UnitFormat.DefaultFormat.format(Unit<?> unit, java.lang.Appendable appendable)
           
 java.lang.Appendable UnitFormat.ASCIIFormat.format(Unit<?> unit, java.lang.Appendable appendable)
           
 UnitConverter Unit.getConverterTo(Unit<?> that)
          Returns a converter of numeric values from this unit to another unit.
static
<Q extends Quantity>
Unit<Q>
SI.GIGA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 109
static
<Q extends Quantity>
Unit<Q>
SI.HECTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 102
 boolean Unit.isCompatible(Unit<?> that)
          Indicates if this unit is compatible with the unit specified.
static
<Q extends Quantity>
Unit<Q>
SI.KILO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 103
abstract  void UnitFormat.label(Unit<?> unit, java.lang.String label)
          Attaches a system-wide label to the specified unit.
 void UnitFormat.DefaultFormat.label(Unit<?> unit, java.lang.String label)
           
static
<Q extends Quantity>
Unit<Q>
SI.MEGA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 106
static
<Q extends Quantity>
Unit<Q>
SI.MICRO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-6
static
<Q extends Quantity>
Unit<Q>
SI.MILLI(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-3
 java.lang.String UnitFormat.DefaultFormat.nameFor(Unit<?> unit)
           
 java.lang.String UnitFormat.ASCIIFormat.nameFor(Unit<?> unit)
           
static
<Q extends Quantity>
Unit<Q>
SI.NANO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-9
static
<Q extends Quantity>
Unit<Q>
SI.PETA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1015
static
<Q extends Quantity>
Unit<Q>
SI.PICO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-12
static
<Q extends Quantity>
Unit<Q>
SI.TERA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1012
 Unit<? extends Quantity> Unit.times(Unit<?> that)
          Returns the product of this unit with the one specified.
static
<Q extends Quantity>
Unit<Q>
SI.YOCTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-24
static
<Q extends Quantity>
Unit<Q>
SI.YOTTA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1024
static
<Q extends Quantity>
Unit<Q>
SI.ZEPTO(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 10-21
static
<Q extends Quantity>
Unit<Q>
SI.ZETTA(Unit<Q> unit)
          Returns the specified unit multiplied by the factor 1021
 

Constructors in javax.measure.unit with parameters of type Unit
ProductUnit(Unit<?> productUnit)
          Copy constructor (allows for parameterization of product units).
 



Copyright © 2010. All Rights Reserved.