Package org.djunits.unit
Class UnitsTest.NoRegisterUnit
java.lang.Object
org.djunits.unit.UnitsTest.NoRegisterUnit
- All Implemented Interfaces:
UnitInterface
- Enclosing class:
- UnitsTest
UnitInterface class that does not register itself.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getScale()ofSi(double si) setSiPrefix(String prefix) setSiPrefix(SIPrefix siPrefix) setSiPrefixKilo(String prefix) setSiPrefixPer(String prefix) siUnit()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.djunits.unit.UnitInterface
fromBaseValue, quantityInUnit, toBaseValue
-
Constructor Details
-
NoRegisterUnit
NoRegisterUnit()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceUnitInterface
-
getScale
- Specified by:
getScalein interfaceUnitInterface
-
getUnitSystem
- Specified by:
getUnitSystemin interfaceUnitInterface
-
siUnit
- Specified by:
siUnitin interfaceUnitInterface
-
getBaseUnit
- Specified by:
getBaseUnitin interfaceUnitInterface
-
getDisplayAbbreviation
- Specified by:
getDisplayAbbreviationin interfaceUnitInterface
-
getTextualAbbreviation
- Specified by:
getTextualAbbreviationin interfaceUnitInterface
-
getName
- Specified by:
getNamein interfaceUnitInterface
-
getStoredDisplayAbbreviation
- Specified by:
getStoredDisplayAbbreviationin interfaceUnitInterface
-
getStoredTextualAbbreviation
- Specified by:
getStoredTextualAbbreviationin interfaceUnitInterface
-
getStoredName
- Specified by:
getStoredNamein interfaceUnitInterface
-
setSiPrefix
- Specified by:
setSiPrefixin interfaceUnitInterface
-
setSiPrefix
- Specified by:
setSiPrefixin interfaceUnitInterface
-
setSiPrefixKilo
- Specified by:
setSiPrefixKiloin interfaceUnitInterface
-
setSiPrefixPer
- Specified by:
setSiPrefixPerin interfaceUnitInterface
-
getSiPrefix
- Specified by:
getSiPrefixin interfaceUnitInterface
-
ofSi
- Specified by:
ofSiin interfaceUnitInterface
-