Class RegularImmutableMap.Values<K,​V>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<V>, java.util.Collection<V>, java.util.List<V>, java.util.RandomAccess
    Enclosing class:
    RegularImmutableMap<K,​V>

    @GwtCompatible(emulated=true)
    private static final class RegularImmutableMap.Values<K,​V>
    extends ImmutableList<V>
    • Method Detail

      • get

        public V get​(int index)
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<K>
        Specified by:
        size in interface java.util.List<K>
        Specified by:
        size in class java.util.AbstractCollection<V>
      • isPartialView

        boolean isPartialView()
        Description copied from class: ImmutableCollection
        Returns 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.
        Specified by:
        isPartialView in class ImmutableCollection<V>