|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.idom.impl.AbstractGroup.ElementMap
protected static class AbstractGroup.ElementMap
Stores a 'cached' map of child elements to speed up the access.
| Field Summary | |
|---|---|
protected java.util.Map |
_map
the map of (String elemName, List of Elements). |
| Constructor Summary | |
|---|---|
protected |
AbstractGroup.ElementMap()
|
| Method Summary | |
|---|---|
boolean |
any()
Returns true if any element. |
Element |
get(java.lang.String name)
Get the element with name. |
java.util.List |
getAll(java.lang.String name)
Get a readonly list of all elements with name. |
java.util.Set |
names()
Returns a readonly set of names of all elements. |
void |
put(Element e,
Element following)
Put an element into the map. |
void |
remove(Element e)
Remove e from the map. |
int |
size()
Returns the number of elements. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.util.Map _map
| Constructor Detail |
|---|
protected AbstractGroup.ElementMap()
| Method Detail |
|---|
public final void put(Element e,
Element following)
public final Element get(java.lang.String name)
public final java.util.List getAll(java.lang.String name)
public final void remove(Element e)
public final boolean any()
public final java.util.Set names()
public final int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||