com.rubecula.jquantity
Class UnitsTable
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--com.rubecula.jquantity.UnitsTable
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class UnitsTable
- extends java.util.HashMap
This class extends HashMap to provide a table of units values.
- Version:
- $Revision: 1.2 $
- Author:
- Robin Hillyard
- See Also:
- Serialized Form
| Nested classes inherited from class java.util.HashMap |
|
| Nested classes inherited from class java.util.AbstractMap |
|
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class java.util.HashMap |
|
| Fields inherited from class java.util.AbstractMap |
|
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
All
public static UnitsTable All
UnitsTable
public UnitsTable()
put
void put(Measurable unit)
get
Units get(java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
toString in class java.util.AbstractMap
printAll
public static void printAll()
auditAll
public static void auditAll()
AddCGSUnits
public static void AddCGSUnits()
AddImpUnits
public static void AddImpUnits()
main
public static void main(java.lang.String[] args)