|
Holger's Java API |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Unit | |
|---|---|
| com.antelmann.calendar | This package contains classes for implementing calendar and time related solutions. |
| com.antelmann.math | This package contains classes to ease calculations. |
| Uses of Unit in com.antelmann.calendar |
|---|
| Classes in com.antelmann.calendar that implement Unit | |
|---|---|
class |
TimeInterval
provides different intervals for time ranges |
| Methods in com.antelmann.calendar with parameters of type Unit | |
|---|---|
Measurable |
TimeInterval.Converter.convert(Measurable m,
Unit targetUnit)
|
| Uses of Unit in com.antelmann.math |
|---|
| Classes in com.antelmann.math with type parameters of type Unit | |
|---|---|
class |
Measure<T extends Unit>
represents some immutable generic measure to serve as a basis for sub-classing; this class itself provides type safety for the unit in use. |
| Classes in com.antelmann.math that implement Unit | |
|---|---|
class |
AreaUnit
area unit |
class |
BaseUnit
base class for providing unit implementations that facilitate conversions based on a standard unit |
class |
CurrencyUnit
a wrapper that allows a currency to be treated as a unit |
class |
DefaultUnit
simple base implementation for a unit |
class |
LengthUnit
length unit with conversion capabilities |
class |
SIBaseUnit
represents a standard SI base unit. |
class |
Temperature
temperature unit along with their conversions. |
class |
Weight
weight unit with conversion capabilities |
| Methods in com.antelmann.math that return Unit | |
|---|---|
Unit |
BaseUnit.getBase()
|
Unit |
Measurable.getUnit()
represents the unit type of this measurable entity |
Unit |
Measurable.Adapter.getUnit()
|
| Methods in com.antelmann.math with parameters of type Unit | |
|---|---|
Measurable |
UnitConverter.convert(Measurable m,
Unit targetUnit)
converts the given measurable into the target unit and returns the resulting measurable |
Money |
MoneyConverter.convert(Measurable m,
Unit targetUnit)
|
| Constructors in com.antelmann.math with parameters of type Unit | |
|---|---|
BaseUnit(String symbol,
String name,
Unit base,
Converter<Number,Number> thisToBaseConverter)
constructs a unit that allows conversions to other units based on the same base unit |
|
BaseUnit(String symbol,
String name,
Unit base,
Number factor)
|
|
Measurable.Adapter(Unit unit,
Number number)
|
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||