MCPcopy Create free account
hub / github.com/grpc/grpc-java / set

Method set

api/src/main/java/io/grpc/Attributes.java:237–240  ·  view source on GitHub ↗
(Key<T> key, T value)

Source from the content-addressed store, hash-verified

235 }
236
237 public <T> Builder set(Key<T> key, T value) {
238 data(1).put(key, value);
239 return this;
240 }
241
242 /**
243 * Removes the key and associated value from the attributes.

Callers

nothing calls this directly

Calls 2

dataMethod · 0.95
putMethod · 0.65

Tested by

no test coverage detected