Uses of Class
com.google.common.collect.ImmutableTable
Packages that use ImmutableTable
Package
Description
Collection interfaces and implementations, and other utilities for collections.
Testing utilities.
-
Uses of ImmutableTable in com.google.common.collect
Subclasses of ImmutableTable in com.google.common.collectModifier and TypeClassDescription(package private) final classDenseImmutableTable<R,C, V> ARegularImmutableTableoptimized for dense data.(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.Fields in com.google.common.collect declared as ImmutableTableModifier and TypeFieldDescription(package private) static final ImmutableTable<Object, Object, Object> SparseImmutableTable.EMPTYMethods in com.google.common.collect that return ImmutableTableModifier and TypeMethodDescriptionImmutableTable.Builder.build()Returns a newly-created immutable table.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> Returns an immutable copy of the provided table.(package private) static <R,C, V> ImmutableTable <R, C, V> ImmutableTable.copyOf(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 ImmutableTableModifier and TypeMethodDescriptionstatic <T,R, C, V>
Collector<T, ?, ImmutableTable<R, C, V>> ImmutableTable.toImmutableTable(Function<? super T, ? extends R> rowFunction, Function<? super T, ? extends C> columnFunction, Function<? super T, ? extends V> valueFunction) Returns aCollectorthat accumulates elements into anImmutableTable.static <T,R, C, V>
Collector<T, ?, ImmutableTable<R, C, V>> ImmutableTable.toImmutableTable(Function<? super T, ? extends R> rowFunction, Function<? super T, ? extends C> columnFunction, Function<? super T, ? extends V> valueFunction, BinaryOperator<V> mergeFunction) Returns aCollectorthat accumulates elements into anImmutableTable.(package private) static <T,R, C, V>
Collector<T, ?, ImmutableTable<R, C, V>> TableCollectors.toImmutableTable(Function<? super T, ? extends R> rowFunction, Function<? super T, ? extends C> columnFunction, Function<? super T, ? extends V> valueFunction) (package private) static <T,R, C, V>
Collector<T, ?, ImmutableTable<R, C, V>> TableCollectors.toImmutableTable(Function<? super T, ? extends R> rowFunction, Function<? super T, ? extends C> columnFunction, Function<? super T, ? extends V> valueFunction, BinaryOperator<V> mergeFunction) Methods in com.google.common.collect with parameters of type ImmutableTableModifier and TypeMethodDescription(package private) static ImmutableTable.SerializedFormImmutableTable.SerializedForm.create(ImmutableTable<?, ?, ?> table, int[] cellRowIndices, int[] cellColumnIndices) -
Uses of ImmutableTable in com.google.common.testing
Methods in com.google.common.testing that return ImmutableTableModifier and TypeMethodDescription(package private) static <R,C, V> ImmutableTable <R, C, V> FreshValueGenerator.generateImmutableTable(R row, C column, V value)