|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.css.CSSOMReadOnlyStyleDeclaration.PropertyMap
To store the values.
Field Summary | |
protected int |
count
The number of entries |
protected static int |
INITIAL_CAPACITY
The initial capacity |
protected CSSOMReadOnlyStyleDeclaration.ValueEntry[] |
table
The underlying array |
Constructor Summary | |
CSSOMReadOnlyStyleDeclaration.PropertyMap()
Creates a new table. |
|
CSSOMReadOnlyStyleDeclaration.PropertyMap(CSSOMReadOnlyStyleDeclaration.PropertyMap t)
Creates a copy of the given PropertyMap object. |
Method Summary | |
CSSOMReadOnlyStyleDeclaration.ValueEntry |
get(java.lang.String key)
Gets the value of a variable |
CSSOMReadOnlyStyleDeclaration.ValueEntry |
item(int index)
Returns the item at the given position. |
java.lang.String |
key(int index)
Returns the key at the given position or null. |
void |
put(java.lang.String key,
CSSOMReadOnlyStyleDeclaration.ValueEntry ve)
Sets a new value for the given variable |
void |
put(java.lang.String key,
CSSOMReadOnlyValue v,
java.lang.String imp,
int orig)
Sets a new value for the given variable |
protected void |
rehash()
Rehash the table |
int |
size()
Returns the size of this table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int INITIAL_CAPACITY
protected CSSOMReadOnlyStyleDeclaration.ValueEntry[] table
protected int count
Constructor Detail |
public CSSOMReadOnlyStyleDeclaration.PropertyMap()
public CSSOMReadOnlyStyleDeclaration.PropertyMap(CSSOMReadOnlyStyleDeclaration.PropertyMap t)
t
- The table to copy.Method Detail |
public int size()
public CSSOMReadOnlyStyleDeclaration.ValueEntry get(java.lang.String key)
public void put(java.lang.String key, CSSOMReadOnlyValue v, java.lang.String imp, int orig)
public void put(java.lang.String key, CSSOMReadOnlyStyleDeclaration.ValueEntry ve)
public java.lang.String key(int index)
public CSSOMReadOnlyStyleDeclaration.ValueEntry item(int index)
protected void rehash()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |