|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
com.rubecula.util.StringMap
com.rubecula.util.AlphabeticalMap
com.rubecula.util.AttrMap
com.rubecula.jquantity.Attributes
Class
Nested Class Summary |
Nested classes inherited from class java.util.HashMap |
|
Nested classes inherited from class java.util.AbstractMap |
|
Field Summary | |
static java.lang.String |
$AttrBoolNormalize
String: Normalize: value: Boolean Currently this is somewhat ambiguous - different classes use it to mean different things. |
static java.lang.String |
$AttrBoolNotRatio
Bool: NotRatio: value: Boolean: default Off |
static java.lang.String |
$AttrBoolRound
String: Round: value: Boolean |
static java.lang.String |
$AttrBoolSymbolic
String: Symbolic: value: Boolean |
static java.lang.String |
$AttrBoolZero
String: Zero: value: Boolean |
static java.lang.String |
$AttrDoubleTolerance
Double: Tolerance: value: Double |
static java.lang.String |
$AttrIntPlaces
String: Places: value: Integer |
static java.lang.String |
$AttrIntRadix
String: Radix: value: Integer |
static java.lang.String |
$AttrStrDecimal
String: Decimal: value: Decimal |
static java.lang.String |
$AttrStrUnits
String: Units: value: String |
static java.lang.String |
$AttrStrUnitsIntrinsic
String: UnitsIntrinsic: value: String |
Fields inherited from class com.rubecula.util.AttrMap |
$ValueOff, $ValueOn |
Fields inherited from class java.util.HashMap |
|
Fields inherited from class java.util.AbstractMap |
|
Constructor Summary | |
Attributes()
|
Method Summary | |
int |
getInt(java.lang.String key)
Method to determine for this map the integer value of the attribute defined by key, or if the attribute is not present, a default value, determined according to the value of key. |
java.lang.String |
getString(java.lang.String key)
Method to determine for this map the string value of the attribute defined by key, or if the attribute is not present, a default value, determined according to the value of key. |
boolean |
isOn(java.lang.String key)
Method to determine if this map has the attribute defined by key turned on, or if the key is not present, return a default value based on the key. |
Methods inherited from class com.rubecula.util.AttrMap |
getDouble, getDouble, getInt, getString, isOn, setBoolean, setDouble, setInt |
Methods inherited from class com.rubecula.util.AlphabeticalMap |
contains, get, merge, put, toString |
Methods inherited from class com.rubecula.util.StringMap |
get, put, put |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, 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 |
Field Detail |
public static final java.lang.String $AttrBoolNormalize
public static final java.lang.String $AttrBoolRound
public static final java.lang.String $AttrBoolZero
public static final java.lang.String $AttrIntPlaces
public static final java.lang.String $AttrIntRadix
public static final java.lang.String $AttrDoubleTolerance
public static final java.lang.String $AttrStrDecimal
public static final java.lang.String $AttrBoolNotRatio
public static final java.lang.String $AttrStrUnits
public static final java.lang.String $AttrStrUnitsIntrinsic
public static final java.lang.String $AttrBoolSymbolic
Constructor Detail |
public Attributes()
Method Detail |
public boolean isOn(java.lang.String key)
isOn
in class AttrMap
key
- the attribute being sought.
public int getInt(java.lang.String key)
getInt
in class AttrMap
key
- the attribute being sought.
public java.lang.String getString(java.lang.String key)
getString
in class AttrMap
key
- the attribute being sought.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |