Uses of Interface
org.episteme.core.measure.Unit
Packages that use Unit
Package
Description
Defines generic interfaces for
Implements a comprehensive units framework enabling type-safe
Implements the science of measurement following ISO/IEC Guide
User interface components and internationalization support for Episteme applications.
Covers:
Provides classes for monetary and financial operations.
Provides the
org.episteme.social.history.time module.-
Uses of Unit in org.episteme.core.device
Fields in org.episteme.core.device declared as UnitMethods in org.episteme.core.device that return types with arguments of type UnitModifier and TypeMethodDescriptionAbstractDevice.getDisplayUnit()Device.getDisplayUnit()Returns the preferred unit for display.Methods in org.episteme.core.device with parameters of type UnitModifier and TypeMethodDescriptionvoidAbstractDevice.setDisplayUnit(Unit<?> unit) default voidDevice.setDisplayUnit(Unit<?> unit) Sets the preferred unit for display. -
Uses of Unit in org.episteme.core.measure
Classes in org.episteme.core.measure that implement UnitFields in org.episteme.core.measure declared as UnitModifier and TypeFieldDescriptionstatic final Unit<ElectricCurrent> Units.AMPEREThe SI unit of electric current: ampere (A).Units.ATMOSPHEREAtmosphere: 1 atm = 101325 PaUnits.BARBar: 1 bar = 100000 PaUnits.CALORIECalorie (thermochemical): 1 cal = 4.184 Jstatic final Unit<LuminousIntensity> Units.CANDELAThe SI unit of luminous intensity: candela (cd).static final Unit<Temperature> Units.CELSIUSCelsius: °C = K - 273.15 Since add(offset) means Value(Base) = Value(Derived) + Offset usually?Units.CENTIMETERCentimeter: 1 cm = 0.01 mstatic final Unit<ElectricCharge> Units.COULOMBCoulomb: C (electric charge). 1 C = 1 Aâ‹…sUnits.CUBIC_METERCubic meter: m³ (volume).Units.DAYDay: 1 d = 86400 sUnits.DEGREE_ANGLEDegree: 1° = À/180 radUnits.ELECTRON_VOLTElectronvolt: 1 eV ≈ 1.602×10⻹⹠Jstatic final Unit<Temperature> Units.FAHRENHEITFahrenheit: 0 F = 255.37 K (relative offset) + 255.37 step?static final Unit<ElectricCapacitance> Units.FARADFarad: F (capacitance).Units.FOOTFoot: 1 ft = 0.3048 m (exactly)Units.GAlias for GRAMUnits.GALLON_LIQUID_USUS Liquid Gallon: 1 gal = 3.785411784 LUnits.GRAMGram: 1 g = 0.001 kgstatic final Unit<Inductance> Units.HENRYHenry: H (inductance). 1 H = kgâ‹…m²/(s²⋅A²)Units.HERTZHertz: Hz (frequency). 1 Hz = 1/sUnits.HOURHour: 1 h = 3600 sUnits.INCHInch: 1 in = 0.0254 m (exactly)Units.JOULEJoule: J (energy). 1 J = 1 kgâ‹…m²/s²static final Unit<Temperature> Units.KELVINThe SI unit of temperature: kelvin (K).Units.KGAlias for KILOGRAMUnits.KILOCALORIEKilocalorie (food calorie): 1 kcal = 1000 calUnits.KILOGRAMThe SI unit of mass: kilogram (kg).static final Unit<MassDensity> Units.KILOGRAM_PER_CUBIC_METERKilogram per cubic meter: kg/m³ (density).Units.KILOJOULEKilojoule: 1 kJ = 1000 JUnits.KILOMETERKilometer: 1 km = 1000 mUnits.KILOMETER_PER_HOURKilometer per hour: km/h (velocity).Units.KILOMETRES_PER_HOURLegacy Alias for KILOMETER_PER_HOUR (British spelling)Units.KILOWATT_HOURKilowatt-hour: kWh = 1000 WhUnits.KMAlias for KILOMETERUnits.KNOTKnot: 1 kn = 1852 m/hUnits.KPHAlias for KILOMETER_PER_HOURUnits.LIGHT_YEARLight-year: 1 ly ≈ 9.461×10¹âµ mUnits.LITRELitre: 1 L = 0.001 m³Units.MAlias for METERUnits.MACHMach: Speed of sound in air at 20°C ≈ 343.2 m/sUnits.METERThe SI unit of length: meter (m).Units.METER_PER_SECONDMeter per second: m/s (velocity).Units.METERS_PER_SECONDLegacy Alias for METER_PER_SECONDstatic final Unit<Acceleration> Meter per second squared: m/s² (acceleration).Units.MICROMETERMicrometer: 1 μm = 10âÂȉ¶ mUnits.MICROSECONDMicrosecond: 1 μs = 10âÂȉ¶ sUnits.MILEMile: 1 mi = 1609.344 mUnits.MILE_PER_HOURMiles per hour: mphUnits.MILES_PER_HOURLegacy Alias for MILE_PER_HOURUnits.MILLIGRAMMilligram: 1 mg = 10âÂȉ¶ kgUnits.MILLIMETERMillimeter: 1 mm = 0.001 mUnits.MILLIMETRE_OF_MERCURYMillimeter of mercury: 1 mmHg ≈ 133.322 PaUnits.MILLISECONDMillisecond: 1 ms = 0.001 sUnits.MINUTEMinute: 1 min = 60 sUnits.MINUTE_ANGLEMinute (angle): 1' = 1°/60static final Unit<AmountOfSubstance> Units.MOLEThe SI unit of amount of substance: mole (mol).Units.MPHAlias for MILE_PER_HOURUnits.MPSAlias for METER_PER_SECONDUnits.NANOMETERNanometer: 1 nm = 10âÂȉ¹ mUnits.NANOSECONDNanosecond: 1 ns = 10âÂȉ¹ sUnits.NAUTICAL_MILENautical Mile: 1852 mUnits.NEWTONNewton: N (force). 1 N = 1 kgâ‹…m/s²static final Unit<ElectricResistance> Units.OHMOhm: Ω (electric resistance). 1 Ω = 1 V/Astatic final Unit<Dimensionless> Units.ONEDimensionless unit: 1 (for ratios).Units.OUNCEOunce: 1 oz = 0.028349523125 kgUnits.PASCALPascal: Pa (pressure). 1 Pa = 1 N/m² = 1 kg/(mâ‹…s²)static final Unit<Dimensionless> Units.PERCENTPercent unit: % = 1/100.Units.POUNDPound (mass): 1 lb = 0.45359237 kg (exactly)Units.POUND_PER_SQUARE_INCHPound per square inch: 1 psi ≈ 6894.76 PaUnits.RADIANRadian: rad (plane angle).Units.SAlias for SECONDUnits.SECONDThe SI unit of time: second (s).Units.SECOND_ANGLESecond (angle): 1" = 1'/60Units.SQUARE_METERSquare meter: m² (area).static final Unit<Dimensionless> Units.STERADIANSteradian: sr (solid angle).Units.TONNETonne (metric ton): 1 t = 1000 kgUnits.UNIFIED_ATOMIC_MASSThe Unified Atomic Mass Unit: u (Dalton). 1 u = 1.66053906660e-27 kg.static final Unit<ElectricPotential> Units.VOLTVolt: V (electric potential). 1 V = 1 W/A = 1 J/(Aâ‹…s)Units.WATTWatt: W (power). 1 W = 1 J/sUnits.WATT_HOURWatt-hour: W*h = 3600 JUnits.WEEKWeek: 1 wk = 7 dUnits.YARDYard: 1 yd = 0.9144 mUnits.YEARJulian Year: 1 yr = 365.25 dMethods in org.episteme.core.measure that return UnitModifier and TypeMethodDescriptionStandardUnit.add(double offset) Returns a unit equal to this unit shifted by the specified offset.Casts this unit to a specific quantity type.StandardUnit.divide(double divisor) Unit<?> Unit.divide(double factor) Returns a unit equal to this unit divided by the specified factor.Unit<?> Returns the quotient of this unit by another unit.Quantity.getUnit()Returns the unit of measurement for this quantity.default Unit<?> Unit.inverse()Returns the inverse of this unit.StandardUnit.multiply(double factor) Unit<?> Unit.multiply(double factor) Returns a unit equal to this unit multiplied by the specified factor.Unit<?> Returns the product of this unit with another unit.static Unit<?> Parses a unit from its symbol.Unit<?> StandardUnit.pow(int exponent) Unit<?> Unit.pow(int exponent) Returns this unit raised to the specified power.Unit<?> StandardUnit.sqrt()Unit<?> Unit.sqrt()Returns the square root of this unit.Methods in org.episteme.core.measure with parameters of type UnitModifier and TypeMethodDescriptionCreates a quantity from a double value and unit.Creates a quantity from an int value and unit.Creates a quantity from a long value and unit.Creates a quantity from a Real value and unit.Unit<?> Unit<?> Returns the quotient of this unit by another unit.default UnitConverterUnit.getConverterFrom(Unit<Q> sourceUnit) Returns a converter from the target unit to this unit.StandardUnit.getConverterTo(Unit<Q> targetUnit) Unit.getConverterTo(Unit<Q> targetUnit) Returns a converter to convert values from this unit to the target unit.default RealReturns the value of this quantity in the specified unit.default booleanUnit.isCompatible(Unit<?> other) Checks if this unit is compatible with another unit.Unit<?> Unit<?> Returns the product of this unit with another unit.Parses a quantity from a string representation.Converts this quantity to the specified unit. -
Uses of Unit in org.episteme.core.measure.adapters
Methods in org.episteme.core.measure.adapters with parameters of type UnitModifier and TypeMethodDescriptionExtracts the numeric value from a Quantity as a Real.RealQuantityAdapter.toQuantity(Real value, Unit<Q> unit) Converts a Episteme Real to a JSR-385 Quantity. -
Uses of Unit in org.episteme.core.measure.metrology
Methods in org.episteme.core.measure.metrology with parameters of type UnitModifier and TypeMethodDescriptionConverts this measurement to another unit. -
Uses of Unit in org.episteme.core.measure.units
Fields in org.episteme.core.measure.units declared as UnitModifier and TypeFieldDescriptionstatic final Unit<ElectricCurrent> SI.AMPEREEpistemeUnits.ANGSTROMAngstrom - 10^-10 meters, commonly used for atomic-scale measurements.EpistemeUnits.ASTRONOMICAL_UNITAstronomical Unit - mean Earth-Sun distance.EpistemeUnits.ATOMIC_MASS_UNITAtomic mass unit (Dalton) - 1/12 mass of carbon-12 atom.EpistemeUnits.BOHRBohr radius - characteristic radius of hydrogen atom ground state.static final Unit<LuminousIntensity> SI.CANDELAstatic final Unit<ElectricCharge> SI.COULOMBEpistemeUnits.ELECTRON_VOLTElectron volt - energy gained by electron through 1V potential.static final Unit<ElectricCapacitance> SI.FARADstatic final Unit<Inductance> SI.HENRYSI.HERTZSI.JOULEEpistemeUnits.JULIAN_YEARJulian year - exactly 365.25 days, used in astronomy.static final Unit<Temperature> SI.KELVINSI.KILOGRAMEpistemeUnits.LIGHT_YEARLight year - distance light travels in one Julian year.SI.METREstatic final Unit<AmountOfSubstance> SI.MOLESI.NEWTONstatic final Unit<ElectricResistance> SI.OHMEpistemeUnits.PARSECParsec - parallax of one arcsecond.SI.PASCALSI.SECONDEpistemeUnits.SOLAR_MASSSolar mass - mass of the Sun.static final Unit<MagneticFluxDensity> SI.TESLAstatic final Unit<ElectricPotential> SI.VOLTSI.WATTstatic final Unit<MagneticFlux> SI.WEBER -
Uses of Unit in org.episteme.core.ui
Methods in org.episteme.core.ui that return UnitConstructors in org.episteme.core.ui with parameters of type Unit -
Uses of Unit in org.episteme.natural.earth.seismology
Fields in org.episteme.natural.earth.seismology declared as Unit -
Uses of Unit in org.episteme.natural.physics
Methods in org.episteme.natural.physics that return UnitConstructors in org.episteme.natural.physics with parameters of type UnitModifierConstructorDescriptionPhysicalConstant(String name, double value, Unit unit, Object source, double uncertainty) -
Uses of Unit in org.episteme.social.economics.money
Classes in org.episteme.social.economics.money that implement UnitModifier and TypeClassDescriptionclassRepresents a currency as a unit of monetary measurement.Fields in org.episteme.social.economics.money declared as UnitMethods in org.episteme.social.economics.money that return UnitMethods in org.episteme.social.economics.money with parameters of type Unit -
Uses of Unit in org.episteme.social.history.clock
Fields in org.episteme.social.history.clock declared as UnitModifier and TypeFieldDescriptionChineseTime.CHINESE_DAYUnit for one Chinese day (100 'ke').ChineseTime.CHINESE_FENUnit for one Chinese 'fen' (60 Chinese seconds).ChineseTime.CHINESE_KEUnit for one Chinese 'ke' (60 'fen').ChineseTime.CHINESE_MILLISECONDUnit for one Chinese millisecond.ChineseTime.CHINESE_SECONDThe base unit for Chinese seconds (approx. 0.24 standard seconds).HexadecimalTime.HEX_DAYUnit for one hexadecimal day (16 hex hours).HexadecimalTime.HEX_HOURUnit for one hexadecimal hour (16 hex maximes).HexadecimalTime.HEX_MAXIMEUnit for one hexadecimal maxime (16 hex minutes).HexadecimalTime.HEX_MILLISECONDUnit for one hexadecimal millisecond.HexadecimalTime.HEX_MINUTEUnit for one hexadecimal minute (16 hex seconds).HexadecimalTime.HEX_SECONDBase unit for hexadecimal seconds (1.318359375 SI seconds).