private static class ImmutableMultimap.EntryCollection<K,V> extends ImmutableCollection<java.util.Map.Entry<K,V>>
ImmutableCollection.ArrayBasedBuilder<E>, ImmutableCollection.Builder<E>| Modifier and Type | Field and Description |
|---|---|
(package private) ImmutableMultimap<K,V> |
multimap |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
EntryCollection(ImmutableMultimap<K,V> multimap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.Object object) |
(package private) boolean |
isPartialView()
Returns
true if this immutable collection's implementation contains references to
user-created objects that aren't accessible via this collection's methods. |
UnmodifiableIterator<java.util.Map.Entry<K,V>> |
iterator()
Returns an unmodifiable iterator across the elements in this collection.
|
int |
size() |
add, addAll, asList, clear, copyIntoArray, remove, removeAll, retainAll, toArray, toArray, writeReplaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfinal ImmutableMultimap<K,V> multimap
private static final long serialVersionUID
EntryCollection(ImmutableMultimap<K,V> multimap)
public UnmodifiableIterator<java.util.Map.Entry<K,V>> iterator()
ImmutableCollectionboolean isPartialView()
ImmutableCollectiontrue if this immutable collection's implementation contains references to
user-created objects that aren't accessible via this collection's methods. This is generally
used to determine whether copyOf implementations should make an explicit copy to avoid
memory leaks.isPartialView in class ImmutableCollection<java.util.Map.Entry<K,V>>public int size()