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>Collection.size()public boolean isEmpty()
isEmpty in interface Collection<V>Collection.isEmpty()public boolean contains(Object o)
contains in interface Collection<V>Collection.contains(java.lang.Object)public Iterator<V> iterator()
iterator in interface Iterable<V>iterator in interface Collection<V>Collection.iterator()public Object[] toArray()
toArray in interface Collection<V>Collection.toArray()public <T> T[] toArray(T[] a)
toArray in interface Collection<V>java.util.Collection#toArray(T[])public boolean add(V e)
add in interface Collection<V>Collection.add(java.lang.Object)public boolean remove(Object o)
remove in interface Collection<V>Collection.remove(java.lang.Object)public boolean containsAll(Collection<?> c)
containsAll in interface Collection<V>Collection.containsAll(java.util.Collection)public boolean addAll(Collection<? extends V> c)
addAll in interface Collection<V>Collection.addAll(java.util.Collection)public boolean removeAll(Collection<?> c)
removeAll in interface Collection<V>Collection.removeAll(java.util.Collection)public boolean retainAll(Collection<?> c)
retainAll in interface Collection<V>Collection.retainAll(java.util.Collection)public void clear()
clear in interface Collection<V>Collection.clear()public int hashCode()
hashCode in interface Collection<V>hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in interface Collection<V>equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.