protected class AbstractMultimap.WrappedCollection extends Object implements Collection<V>
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractMultimap.WrappedCollection.DelegateIterator |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMultimap.WrappedCollection(K key,
Collection<V> values) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(V e) |
boolean |
addAll(Collection<? extends V> c) |
protected void |
addToMap() |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
protected Collection<V> |
delegate() |
boolean |
equals(Object obj) |
K |
getKey() |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
protected void |
removeIfEmpty() |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
protected AbstractMultimap.WrappedCollection(K key, Collection<V> values)
public K getKey()
protected Collection<V> delegate()
protected final void removeIfEmpty()
protected final void addToMap()
public int size()
size in interface Collection<V>public boolean isEmpty()
isEmpty in interface Collection<V>public boolean contains(Object o)
contains in interface Collection<V>public Object[] toArray()
toArray in interface Collection<V>public <T> T[] toArray(T[] a)
toArray in interface Collection<V>public boolean add(V e)
add in interface Collection<V>public boolean remove(Object o)
remove in interface Collection<V>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<V>public boolean addAll(Collection<? extends V> c)
addAll in interface Collection<V>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<V>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<V>public void clear()
clear in interface Collection<V>public int hashCode()
hashCode in interface Collection<V>hashCode in class Objectpublic boolean equals(Object obj)
equals in interface Collection<V>equals in class ObjectCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.