|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rubecula.jquantity.Constants
Class to create Lookupable objects for the JQuantity framework.
Field Summary | |
private static LookupTable |
$Table
This is the static final lookup table of fundamental constants defined for the JQuantity framework. |
Constructor Summary | |
Constants()
|
Method Summary | |
Lookupable |
createLookupable()
Create a Lookupable which stores fundamental physical constants. |
Lookupable |
createLookupable(java.lang.String filename)
/** Method to create a Lookupable instance which is based on a file, useful for application-specific values. |
java.lang.String |
getIdentifier()
Method to get the specific identifier for an object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final LookupTable $Table
createLookupable()
for more details.
Constructor Detail |
public Constants()
Method Detail |
public Lookupable createLookupable()
Create a Lookupable which stores fundamental physical constants.
In particular, this method returns the (static) table of constants which JQuantity builds for
handling expressions.
The constants (all instances of JQuantity) defined have the following keys:
createLookupable
in interface LookupableFactoryInterface
LookupableFactoryInterface.createLookupable()
public Lookupable createLookupable(java.lang.String filename) throws java.io.FileNotFoundException
LookupableFactoryInterface
createLookupable
in interface LookupableFactoryInterface
filename
-
java.io.FileNotFoundException
- if filename cannot be found.public java.lang.String getIdentifier()
Identifiable
getIdentifier
in interface Identifiable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |