|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbcds.tools.Environ
bcds.phison.io.DemandTypesReader.DemandType
public class DemandTypesReader.DemandType
DemandType associates a collection of key-value pairs to a demand id.
Data members are public but the id is final.
Field Summary | |
---|---|
java.lang.String |
id
The demand id. |
java.lang.String |
tag
A comma-separated sequence of key=value pairs which are inserted into the key=value map. |
Constructor Summary | |
---|---|
DemandTypesReader.DemandType(java.lang.String id)
Creates a new instance with the given id . |
|
DemandTypesReader.DemandType(java.lang.String id,
java.lang.String tag)
Creates a new instance with the given id , saves
the tag value and inserts them into its
key-value map. |
Method Summary |
---|
Methods inherited from class bcds.tools.Environ |
---|
adaptTypes, containsKey, createPrefixedAliases, fromArgsString, fromArgsString, get, getBool, getBool, getDouble, getDouble, getInt, getInt, getStr, getStr, getTyped, keySet, put, readFromFile, remove, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final java.lang.String id
public java.lang.String tag
Constructor Detail |
---|
public DemandTypesReader.DemandType(java.lang.String id)
id
.
public DemandTypesReader.DemandType(java.lang.String id, java.lang.String tag)
id
, saves
the tag
value and inserts them into its
key-value map.
The values can be access through
Environ.getStr(String)
, Environ.getInt(String)
and other methods from
Environ
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |