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

Method of

api/src/main/java/io/grpc/Attributes.java:139–142  ·  view source on GitHub ↗

Factory method for creating instances of Key. @param debugString a string used to describe the key, used for debugging. @param Key type @return Key object @deprecated use #create instead. This method will be removed in the future.

(String debugString)

Source from the content-addressed store, hash-verified

137 * @deprecated use {@link #create} instead. This method will be removed in the future.
138 */
139 @Deprecated
140 public static <T> Key<T> of(String debugString) {
141 return new Key<>(debugString);
142 }
143
144 /**
145 * Factory method for creating instances of {@link Key}.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected