MCPcopy Create free account
hub / github.com/antlr/codebuff / put

Method put

output/java_guava/1.4.17/ImmutableTable.java:189–193  ·  view source on GitHub ↗

Associates the (rowKey, columnKey) pair with value in the built table. Duplicate key pairs are not allowed and will cause #build to fail.

(R rowKey, C columnKey, V value)

Source from the content-addressed store, hash-verified

187 */
188
189 @CanIgnoreReturnValue
190 public Builder<R, C, V> put(R rowKey, C columnKey, V value) {
191 cells.add(cellOf(rowKey, columnKey, value));
192 return this;
193 }
194
195 /**
196 * Adds the given {@code cell} to the table, making it immutable if

Callers 1

putAllMethod · 0.95

Calls 6

addMethod · 0.65
getRowKeyMethod · 0.65
getColumnKeyMethod · 0.65
getValueMethod · 0.65
cellOfMethod · 0.45
checkNotNullMethod · 0.45

Tested by

no test coverage detected