Class RegularImmutableTable.Values

All Implemented Interfaces:
Serializable, Iterable<V>, Collection<V>, List<V>, RandomAccess, SequencedCollection<V>
Enclosing class:
RegularImmutableTable<R,C,V>

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

    • Values

      private Values()
  • Method Details

    • size

      public int size()
      Specified by:
      size in interface Collection<V>
      Specified by:
      size in interface List<V>
      Specified by:
      size in class 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>
    • writeReplace

      Object writeReplace()
      Overrides:
      writeReplace in class ImmutableList<V>