|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ph.pr.parser.vbs2java.DIM
public class DIM
Acts as both a single variable and also has a hash map. Some code uses this as a hash map, some as a single variable
Field Summary | |
---|---|
(package private) java.lang.String |
contents
|
DIM |
Item
|
private java.util.HashMap |
map
Key is uppercase string, Value is DIM objects |
(package private) java.lang.Class |
type
|
Constructor Summary | |
---|---|
DIM()
|
|
DIM(java.math.BigDecimal num)
|
|
DIM(double d)
|
|
DIM(int i)
|
|
DIM(java.lang.String string)
|
Method Summary | |
---|---|
DIM |
decr()
unusually this modifies the internals... |
boolean |
equals(java.lang.Object obj)
|
DIM |
get(DIM dim)
|
java.util.HashMap |
getCleanMap()
Get rid of the DIMs and give back an all string (clean) hashmap |
java.util.Map |
getMap()
|
int |
hashCode()
|
DIM |
incr()
unusually this modifies the internals... |
DIM |
Item(DIM dim)
|
DIM |
length()
|
(package private) DIM |
psyClone()
TODO |
void |
put(DIM key,
DIM value)
|
void |
set(DIM dim)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public DIM Item
private java.util.HashMap map
java.lang.String contents
java.lang.Class type
Constructor Detail |
---|
public DIM(int i)
public DIM(java.lang.String string)
public DIM()
public DIM(double d)
d
- public DIM(java.math.BigDecimal num)
num
- Method Detail |
---|
DIM psyClone()
public java.util.Map getMap()
public java.util.HashMap getCleanMap()
public DIM Item(DIM dim)
key
-
public DIM decr()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public DIM get(DIM dim)
public DIM incr()
public DIM length()
public void put(DIM key, DIM value)
dim
- keydim2
- valuepublic void set(DIM dim)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |