Uses of Interface
com.google.common.collect.Table
Packages that use Table
Package
Description
Collection interfaces and implementations, and other utilities for collections.
Testing utilities.
-
Uses of Table in com.google.common.collect
Subinterfaces of Table in com.google.common.collectModifier and TypeInterfaceDescriptioninterfaceRowSortedTable<R,C, V> Interface that extendsTableand whose rows are sorted.Classes in com.google.common.collect that implement TableModifier and TypeClassDescription(package private) classAbstractTable<R,C, V> Skeletal, implementation-agnostic implementation of theTableinterface.final classArrayTable<R,C, V> Fixed-sizeTableimplementation backed by a two-dimensional array.(package private) final classDenseImmutableTable<R,C, V> ARegularImmutableTableoptimized for dense data.classForwardingTable<R,C, V> A table which forwards all its method calls to another table.classHashBasedTable<R,C, V> Implementation ofTableusing linked hash tables.classImmutableTable<R,C, V> ATablewhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) classRegularImmutableTable<R,C, V> An implementation ofImmutableTableholding an arbitrary number of cells.(package private) classSingletonImmutableTable<R,C, V> An implementation ofImmutableTablethat holds a single cell.(package private) final classSparseImmutableTable<R,C, V> ARegularImmutableTableoptimized for sparse data.(package private) classStandardRowSortedTable<R,C, V> Implementation ofTablewhose iteration ordering across row keys is sorted by their natural ordering or by a supplied comparator.(package private) classStandardTable<R,C, V> Tableimplementation backed by a map that associates row keys with column key / value secondary maps.(package private) static final classprivate static classTables.TransformedTable<R,C, V1, V2> private static classTables.TransposeTable<C,R, V> private static final classprivate static classTables.UnmodifiableTable<R,C, V> classTreeBasedTable<R,C, V> Implementation ofTablewhose row keys and column keys are ordered by their natural ordering or by supplied comparators.Fields in com.google.common.collect declared as TableModifier and TypeFieldDescriptionTables.UnmodifiableTable.delegateTables.TransformedTable.fromTableTables.TransposeTable.originalTableCollectors.ImmutableTableCollectorState.tableMethods in com.google.common.collect with type parameters of type TableModifier and TypeMethodDescriptionTableCollectors.toTable(Function<? super T, ? extends R> rowFunction, Function<? super T, ? extends C> columnFunction, Function<? super T, ? extends V> valueFunction, BinaryOperator<V> mergeFunction, Supplier<I> tableSupplier) TableCollectors.toTable(Function<? super T, ? extends R> rowFunction, Function<? super T, ? extends C> columnFunction, Function<? super T, ? extends V> valueFunction, Supplier<I> tableSupplier) Tables.toTable(Function<? super T, ? extends R> rowFunction, Function<? super T, ? extends C> columnFunction, Function<? super T, ? extends V> valueFunction, BinaryOperator<V> mergeFunction, Supplier<I> tableSupplier) Returns aCollectorthat accumulates elements into aTablecreated using the specified supplier, whose cells are generated by applying the provided mapping functions to the input elements.Tables.toTable(Function<? super T, ? extends R> rowFunction, Function<? super T, ? extends C> columnFunction, Function<? super T, ? extends V> valueFunction, Supplier<I> tableSupplier) Returns aCollectorthat accumulates elements into aTablecreated using the specified supplier, whose cells are generated by applying the provided mapping functions to the input elements.Methods in com.google.common.collect that return TableModifier and TypeMethodDescriptionForwardingTable.delegate()Synchronized.SynchronizedTable.delegate()Tables.UnmodifiableTable.delegate()static <R,C, V> Table <R, C, V> Tables.newCustomTable(Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) Creates a table that uses the specified backing map and factory.static <R,C, V> Table <R, C, V> Tables.synchronizedTable(Table<R, C, V> table) Returns a synchronized (thread-safe) table backed by the specified table.(package private) static <R,C, V> Table <R, C, V> static <R,C, V1, V2>
Table<R, C, V2> Tables.transformValues(Table<R, C, V1> fromTable, Function<? super V1, V2> function) Returns a view of a table where each value is transformed by a function.static <R,C, V> Table <C, R, V> Creates a transposed view of a given table that flips its row and column keys.static <R,C, V> Table <R, C, V> Tables.unmodifiableTable(Table<? extends R, ? extends C, ? extends V> table) Returns an unmodifiable view of the specified table.Methods in com.google.common.collect with parameters of type TableModifier and TypeMethodDescriptionstatic <R,C, V> ImmutableTable <R, C, V> Returns an immutable copy of the provided table.static <R,C, V> ArrayTable <R, C, V> Creates anArrayTablewith the mappings in the provided table.static <R,C, V> HashBasedTable <R, C, V> Creates aHashBasedTablewith the same mappings as the specified table.(package private) static booleanTables.equalsImpl(Table<?, ?, ?> table, Object obj) private static <R,C, V> void TableCollectors.mergeTables(Table<R, C, V> table, R row, C column, V value, BinaryOperator<V> mergeFunction) voidvoidCopies all mappings from the specified table to this table.voidAssociates all of the given table's keys and values in the built table.final voidDeprecated.Unsupported operation.voidvoidCopies all mappings from the specified table to this table.voidvoidvoidstatic <R,C, V> Table <R, C, V> Tables.synchronizedTable(Table<R, C, V> table) Returns a synchronized (thread-safe) table backed by the specified table.(package private) static <R,C, V> Table <R, C, V> static <R,C, V1, V2>
Table<R, C, V2> Tables.transformValues(Table<R, C, V1> fromTable, Function<? super V1, V2> function) Returns a view of a table where each value is transformed by a function.static <R,C, V> Table <C, R, V> Creates a transposed view of a given table that flips its row and column keys.static <R,C, V> Table <R, C, V> Tables.unmodifiableTable(Table<? extends R, ? extends C, ? extends V> table) Returns an unmodifiable view of the specified table.Constructors in com.google.common.collect with parameters of type TableModifierConstructorDescriptionprivateArrayTable(Table<R, C, ? extends V> table) (package private)(package private)(package private)TransposeTable(Table<R, C, V> original) (package private)UnmodifiableTable(Table<? extends R, ? extends C, ? extends V> delegate) -
Uses of Table in com.google.common.testing
Methods in com.google.common.testing that return TableModifier and TypeMethodDescription(package private) static <R,C, V> Table <R, C, V> FreshValueGenerator.generateTable(R row, C column, V value)