Uses of Class
de.timmfitschen.easyunits.Unit
-
Packages that use Unit Package Description de.timmfitschen.easyunits de.timmfitschen.easyunits.parser -
-
Uses of Unit in de.timmfitschen.easyunits
Subclasses of Unit in de.timmfitschen.easyunits Modifier and Type Class Description class
BaseUnit
class
CompoundUnit
class
ConvertedUnit
class
DerivedUnit
class
PrefixedUnit
Fields in de.timmfitschen.easyunits with type parameters of type Unit Modifier and Type Field Description protected Map<String,Unit>
SystemOfUnits. allunits
Methods in de.timmfitschen.easyunits that return Unit Modifier and Type Method Description Unit
Unit. add(Number n)
Unit
Unit. divide(Number n)
Unit
BaseUnit. getNormalizedUnit()
Unit
CompoundUnit. getNormalizedUnit()
Unit
ConvertedUnit. getNormalizedUnit()
abstract Unit
Unit. getNormalizedUnit()
Calculate the base unit or a compound unit that consists of base units only, without any prefixes.Unit
DefaultSystemOfUnitsFactory. getUnit(String unit)
Unit
SystemOfUnits. getUnit(String unit)
Unit
SystemOfUnitsFactory. getUnit(String unit)
protected Unit
SystemOfUnits. parseCompound(String unit)
Unit
Unit. power(int i)
Unit
Unit. setPrefixableBy(String prefixes)
Unit
Unit. times(Number n)
protected Unit
Unit. transform(Converter c)
Transform this unit into another by means of a converter.Methods in de.timmfitschen.easyunits that return types with arguments of type Unit Modifier and Type Method Description protected HashMap<String,Unit>
DefaultSystemOfUnitsFactory. getAllunits()
Map<Unit,Integer>
CompoundUnit. getComponents()
Methods in de.timmfitschen.easyunits with parameters of type Unit Modifier and Type Method Description CompoundUnitFactory
CompoundUnitFactory. addComponent(Unit u, int exponent)
protected void
DefaultSystemOfUnitsFactory. addPrefixedUnit(Prefix prefix, Unit unit)
protected void
DefaultSystemOfUnitsFactory. addUnitWithAllNames(Unit unit)
Number
SystemOfUnits. convert(Number value, Unit from, Unit to)
CompoundUnit
Unit. divide(Unit u)
Converter
SystemOfUnits. getConverter(Unit from, Unit to)
boolean
SystemOfUnits. isCommensurable(Unit unit1, Unit unit2)
CompoundUnit
Unit. times(Unit u)
Constructors in de.timmfitschen.easyunits with parameters of type Unit Constructor Description ConvertedUnit(Unit unit, Converter converter)
DerivedUnit(String symbol, Unit unit)
PrefixedUnit(Unit u, Prefix p)
Constructor parameters in de.timmfitschen.easyunits with type arguments of type Unit Constructor Description CompoundUnit(Map<Unit,Integer> components)
SystemOfUnits(Map<String,Unit> allunits)
-
Uses of Unit in de.timmfitschen.easyunits.parser
Methods in de.timmfitschen.easyunits.parser that return Unit Modifier and Type Method Description Unit
CompoundUnitParser. parseCompound(Map<String,Unit> allunits, String unit)
protected Unit
DefaultCompoundUnitParser. parseSubExpression(Map<String,Unit> allunits, char[] cs, int[] status)
Method parameters in de.timmfitschen.easyunits.parser with type arguments of type Unit Modifier and Type Method Description Unit
CompoundUnitParser. parseCompound(Map<String,Unit> allunits, String unit)
protected CompoundUnit
DefaultCompoundUnitParser. parseCompound(Map<String,Unit> allunits, char[] cs, int[] status)
CompoundUnit
DefaultCompoundUnitParser. parseCompound(Map<String,Unit> allunits, String unit)
protected Unit
DefaultCompoundUnitParser. parseSubExpression(Map<String,Unit> allunits, char[] cs, int[] status)
-