@GwtCompatible(emulated=true) private static final class RegularImmutableMap.Values<K,V> extends ImmutableList<V>
Modifier and Type | Class and Description |
---|---|
private static class |
RegularImmutableMap.Values.SerializedForm<V> |
ImmutableList.Builder<E>, ImmutableList.SubList
ImmutableCollection.ArrayBasedBuilder<E>
Modifier and Type | Field and Description |
---|---|
(package private) RegularImmutableMap<K,V> |
map |
Constructor and Description |
---|
Values(RegularImmutableMap<K,V> map) |
Modifier and Type | Method and Description |
---|---|
V |
get(int index) |
(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. |
int |
size() |
(package private) java.lang.Object |
writeReplace() |
add, addAll, asImmutableList, asImmutableList, asList, builder, contains, copyIntoArray, copyOf, copyOf, copyOf, copyOf, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, of, of, of, of, of, of, of, of, of, of, of, of, of, remove, reverse, set, subList, subListUnchecked
add, addAll, clear, remove, removeAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
final RegularImmutableMap<K,V> map
Values(RegularImmutableMap<K,V> map)
public V get(int index)
public int size()
boolean isPartialView()
ImmutableCollection
true
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<V>
@GwtIncompatible java.lang.Object writeReplace()
writeReplace
in class ImmutableList<V>