Method from javax.faces.component.UIComponentBase$FacetsMap Detail: |
public void clear() {
Iterator< String > keys = keySet().iterator();
while (keys.hasNext()) {
keys.next();
keys.remove();
}
super.clear();
}
|
public Set<String, UIComponent> entrySet() {
return (new FacetsMapEntrySet(this));
}
|
public Set<String> keySet() {
return (new FacetsMapKeySet(this));
}
|
Iterator<String> keySetIterator() {
return ((new ArrayList< String >(super.keySet())).iterator());
}
|
public UIComponent put(String key,
UIComponent value) {
if ((key == null) || (value == null)) {
throw new NullPointerException();
} else //noinspection ConstantConditions
if (!(key instanceof String) ||
!(value instanceof UIComponent)) {
throw new ClassCastException();
}
UIComponent previous = super.get(key);
if (previous != null) {
previous.setParent(null);
}
eraseParent(value);
UIComponent result = super.put(key, value);
value.setParent(component);
return (result);
}
|
public void putAll(Map<String, UIComponent> map) {
if (map == null) {
throw new NullPointerException();
}
for (Map.Entry< ? extends String, ? extends UIComponent > entry : map.entrySet()) {
put(entry.getKey(), entry.getValue());
}
}
|
public UIComponent remove(Object key) {
UIComponent previous = get(key);
if (previous != null) {
previous.setParent(null);
}
super.remove(key);
return (previous);
}
|
public Collection<UIComponent> values() {
return (new FacetsMapValues(this));
}
|