Class RegularImmutableTable<R,​C,​V>

    • Constructor Detail

      • RegularImmutableTable

        RegularImmutableTable()
    • Method Detail

      • getCell

        abstract Table.Cell<R,​C,​V> getCell​(int iterationIndex)
      • getValue

        abstract V getValue​(int iterationIndex)
      • forCells

        static <R,​C,​V> RegularImmutableTable<R,​C,​V> forCells​(java.util.List<Table.Cell<R,​C,​V>> cells,
                                                                                     @CheckForNull
                                                                                     java.util.Comparator<? super R> rowComparator,
                                                                                     @CheckForNull
                                                                                     java.util.Comparator<? super C> columnComparator)
      • forCellsInternal

        private static <R,​C,​V> RegularImmutableTable<R,​C,​V> forCellsInternal​(java.lang.Iterable<Table.Cell<R,​C,​V>> cells,
                                                                                                     @CheckForNull
                                                                                                     java.util.Comparator<? super R> rowComparator,
                                                                                                     @CheckForNull
                                                                                                     java.util.Comparator<? super C> columnComparator)
      • checkNoDuplicate

        final void checkNoDuplicate​(R rowKey,
                                    C columnKey,
                                    @CheckForNull
                                    V existingValue,
                                    V newValue)
        Throws:
        java.lang.IllegalArgumentException - if existingValue is not null.