Class Tables


  • public final class Tables
    extends Object
    Provides static methods that involve a Table.

    See the Guava User Guide article on Tables.

    Since:
    7.0
    Author:
    Jared Levy, Louis Wasserman
    • Method Detail

      • immutableCell

        public static <R,​C,​V> Table.Cell<R,​C,​V> immutableCell​(R rowKey,
                                                                                      C columnKey,
                                                                                      V value)
        Returns an immutable cell with the specified row key, column key, and value.

        The returned cell is serializable.

        Parameters:
        rowKey - the row key to be associated with the returned cell
        columnKey - the column key to be associated with the returned cell
        value - the value to be associated with the returned cell