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

Method Attributes

api/src/main/java/io/grpc/Attributes.java:55–58  ·  view source on GitHub ↗
(IdentityHashMap<Key<?>, Object> data)

Source from the content-addressed store, hash-verified

53 public static final Attributes EMPTY = new Attributes(EMPTY_MAP);
54
55 private Attributes(IdentityHashMap<Key<?>, Object> data) {
56 assert data != null;
57 this.data = data;
58 }
59
60 /**
61 * Gets the value for the key, or {@code null} if it's not present.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected