Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Method and Description |
---|---|
ImmutableTable<R,C,V> |
ImmutableTable.Builder.build()
Returns a newly-created immutable table.
|
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> 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.
|
Modifier and Type | Method and Description |
---|---|
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)
Returns a
Collector that accumulates elements into an ImmutableTable . |
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 a
Collector that accumulates elements into an ImmutableTable . |
Copyright © 2010–2019. All rights reserved.