|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.common.collection.AbstractMultimap.WrappedCollection
protected class AbstractMultimap.WrappedCollection
Nested Class Summary | |
---|---|
protected class |
AbstractMultimap.WrappedCollection.DelegateIterator
|
Constructor Summary | |
---|---|
protected |
AbstractMultimap.WrappedCollection(K key,
Collection<V> values)
|
Method Summary | ||
---|---|---|
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()
|
|
|
toArray(T[] a)
|
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AbstractMultimap.WrappedCollection(K key, Collection<V> values)
Method Detail |
---|
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 Object
Object.hashCode()
public boolean equals(Object obj)
equals
in interface Collection<V>
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |