Method from javax.faces.component.UIComponentBase$FacetsMapEntrySet Detail: |
public boolean add(Entry<String, UIComponent> o) {
throw new UnsupportedOperationException();
}
|
public boolean addAll(Collection<Entry> c) {
throw new UnsupportedOperationException();
}
|
public void clear() {
map.clear();
}
|
public boolean contains(Object o) {
if (o == null) {
throw new NullPointerException();
}
if (!(o instanceof Map.Entry)) {
return (false);
}
Map.Entry e = (Map.Entry) o;
Object k = e.getKey();
Object v = e.getValue();
if (!map.containsKey(k)) {
return (false);
}
if (v == null) {
return (map.get(k) == null);
} else {
return (v.equals(map.get(k)));
}
}
|
public boolean isEmpty() {
return (map.isEmpty());
}
|
public Iterator<String, UIComponent> iterator() {
return (new FacetsMapEntrySetIterator(map));
}
|
public boolean remove(Object o) {
if (o == null) {
throw new NullPointerException();
}
if (!(o instanceof Map.Entry)) {
return (false);
}
Object k = ((Map.Entry) o).getKey();
if (map.containsKey(k)) {
map.remove(k);
return (true);
} else {
return (false);
}
}
|
public boolean removeAll(Collection c) {
boolean result = false;
for (Object element : c) {
if (remove(element)) {
result = true;
}
}
return (result);
}
|
public boolean retainAll(Collection c) {
boolean result = false;
Iterator v = iterator();
while (v.hasNext()) {
if (!c.contains(v.next())) {
v.remove();
result = true;
}
}
return (result);
}
|
public int size() {
return (map.size());
}
|