Uses of Interface
com.google.common.collect.Table
-
Packages that use Table Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections.com.google.common.testing This package contains testing utilities. -
-
Uses of Table in com.google.common.collect
Subinterfaces of Table in com.google.common.collect Modifier and Type Interface Description interfaceRowSortedTable<R,C,V>Interface that extendsTableand whose rows are sorted.Classes in com.google.common.collect that implement Table Modifier and Type Class Description (package private) classAbstractTable<R,C,V>Skeletal, implementation-agnostic implementation of theTableinterface.classArrayTable<R,C,V>Fixed-sizeTableimplementation backed by a two-dimensional array.(package private) 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) 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.private static classTables.TransformedTable<R,C,V1,V2>private static classTables.TransposeTable<C,R,V>(package private) static classTables.UnmodifiableRowSortedMap<R,C,V>private 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 Table Modifier and Type Field Description (package private) Table<? extends R,? extends C,? extends V>Tables.UnmodifiableTable. delegate(package private) Table<R,C,V1>Tables.TransformedTable. fromTable(package private) Table<R,C,V>Tables.TransposeTable. originalMethods in com.google.common.collect that return Table Modifier and Type Method Description protected abstract Table<R,C,V>ForwardingTable. delegate()protected Table<R,C,V>Tables.UnmodifiableTable. delegate()static <R,C,V>
Table<R,C,V>Tables. newCustomTable(java.util.Map<R,java.util.Map<C,V>> backingMap, Supplier<? extends java.util.Map<C,V>> factory)Creates a table that uses the specified backing map and factory.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>Tables. transpose(Table<R,C,V> table)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 Table Modifier and Type Method Description static <R,C,V>
ImmutableTable<R,C,V>ImmutableTable. copyOf(Table<? extends R,? extends C,? extends V> table)Returns an immutable copy of the provided table.static <R,C,V>
ArrayTable<R,C,V>ArrayTable. create(Table<R,C,V> table)Creates anArrayTablewith the mappings in the provided table.static <R,C,V>
HashBasedTable<R,C,V>HashBasedTable. create(Table<? extends R,? extends C,? extends V> table)Creates aHashBasedTablewith the same mappings as the specified table.(package private) static booleanTables. equalsImpl(Table<?,?,?> table, java.lang.Object obj)voidAbstractTable. putAll(Table<? extends R,? extends C,? extends V> table)voidArrayTable. putAll(Table<? extends R,? extends C,? extends V> table)Copies all mappings from the specified table to this table.voidForwardingTable. putAll(Table<? extends R,? extends C,? extends V> table)ImmutableTable.Builder<R,C,V>ImmutableTable.Builder. putAll(Table<? extends R,? extends C,? extends V> table)Associates all of the given table's keys and values in the built table.voidImmutableTable. putAll(Table<? extends R,? extends C,? extends V> table)Deprecated.Unsupported operation.voidTable. putAll(Table<? extends R,? extends C,? extends V> table)Copies all mappings from the specified table to this table.voidTables.TransformedTable. putAll(Table<? extends R,? extends C,? extends V2> table)voidTables.TransposeTable. putAll(Table<? extends C,? extends R,? extends V> table)voidTables.UnmodifiableTable. putAll(Table<? extends R,? extends C,? extends V> table)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>Tables. transpose(Table<R,C,V> table)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 Table Constructor Description ArrayTable(Table<R,C,V> table)TransformedTable(Table<R,C,V1> fromTable, Function<? super V1,V2> function)TransposeTable(Table<R,C,V> original)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 Table Modifier and Type Method Description private static <R,C,V>
Table<R,C,V>FreshValueGenerator. generateTable(R row, C column, V value)
-