Class RegularImmutableTable.Values

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

    private final class RegularImmutableTable.Values
    extends ImmutableList<V>
    • Constructor Detail

      • Values

        private Values()
    • Method Detail

      • size

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

        public V get​(int index)
      • 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>