Uses of Class
com.google.common.collect.ImmutableTable
-
Packages that use ImmutableTable 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 ImmutableTable in com.google.common.collect
Subclasses of ImmutableTable in com.google.common.collect Modifier and Type Class Description (package private) class
DenseImmutableTable<R,C,V>
ARegularImmutableTable
optimized for dense data.(package private) class
RegularImmutableTable<R,C,V>
An implementation ofImmutableTable
holding an arbitrary number of cells.(package private) class
SingletonImmutableTable<R,C,V>
An implementation ofImmutableTable
that holds a single cell.(package private) class
SparseImmutableTable<R,C,V>
ARegularImmutableTable
optimized for sparse data.Fields in com.google.common.collect declared as ImmutableTable Modifier and Type Field Description (package private) static ImmutableTable<java.lang.Object,java.lang.Object,java.lang.Object>
SparseImmutableTable. EMPTY
Methods in com.google.common.collect that return ImmutableTable Modifier and Type Method Description ImmutableTable<R,C,V>
ImmutableTable.Builder. build()
Returns a newly-created immutable table.ImmutableTable<R,C,V>
ImmutableTable.Builder. buildOrThrow()
Returns a newly-created immutable table, or throws an exception if duplicate key pairs were added.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.(package private) static <R,C,V>
ImmutableTable<R,C,V>ImmutableTable. copyOf(java.lang.Iterable<? extends Table.Cell<? extends R,? extends C,? extends V>> cells)
static <R,C,V>
ImmutableTable<R,C,V>ImmutableTable. of()
Returns an empty immutable table.static <R,C,V>
ImmutableTable<R,C,V>ImmutableTable. of(R rowKey, C columnKey, V value)
Returns an immutable table containing a single cell.(package private) ImmutableTable<R,C,V>
TableCollectors.ImmutableTableCollectorState. toTable()
Methods in com.google.common.collect that return types with arguments of type ImmutableTable Modifier and Type Method Description static <T,R,C,V>
java.util.stream.Collector<T,?,ImmutableTable<R,C,V>>ImmutableTable. toImmutableTable(java.util.function.Function<? super T,? extends R> rowFunction, java.util.function.Function<? super T,? extends C> columnFunction, java.util.function.Function<? super T,? extends V> valueFunction)
Returns aCollector
that accumulates elements into anImmutableTable
.static <T,R,C,V>
java.util.stream.Collector<T,?,ImmutableTable<R,C,V>>ImmutableTable. toImmutableTable(java.util.function.Function<? super T,? extends R> rowFunction, java.util.function.Function<? super T,? extends C> columnFunction, java.util.function.Function<? super T,? extends V> valueFunction, java.util.function.BinaryOperator<V> mergeFunction)
Returns aCollector
that accumulates elements into anImmutableTable
.(package private) static <T,R,C,V>
java.util.stream.Collector<T,?,ImmutableTable<R,C,V>>TableCollectors. toImmutableTable(java.util.function.Function<? super T,? extends R> rowFunction, java.util.function.Function<? super T,? extends C> columnFunction, java.util.function.Function<? super T,? extends V> valueFunction)
(package private) static <T,R,C,V>
java.util.stream.Collector<T,?,ImmutableTable<R,C,V>>TableCollectors. toImmutableTable(java.util.function.Function<? super T,? extends R> rowFunction, java.util.function.Function<? super T,? extends C> columnFunction, java.util.function.Function<? super T,? extends V> valueFunction, java.util.function.BinaryOperator<V> mergeFunction)
Methods in com.google.common.collect with parameters of type ImmutableTable Modifier and Type Method Description (package private) static ImmutableTable.SerializedForm
ImmutableTable.SerializedForm. create(ImmutableTable<?,?,?> table, int[] cellRowIndices, int[] cellColumnIndices)
-
Uses of ImmutableTable in com.google.common.testing
Methods in com.google.common.testing that return ImmutableTable Modifier and Type Method Description (package private) static <R,C,V>
ImmutableTable<R,C,V>FreshValueGenerator. generateImmutableTable(R row, C column, V value)
-