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

Method cloneCustomArgs

api/src/main/java/io/grpc/NameResolver.java:1035–1039  ·  view source on GitHub ↗
(
          @Nullable IdentityHashMap<Args.Key<?>, Object> customArgs)

Source from the content-addressed store, hash-verified

1033 }
1034
1035 @Nullable
1036 private static IdentityHashMap<Args.Key<?>, Object> cloneCustomArgs(
1037 @Nullable IdentityHashMap<Args.Key<?>, Object> customArgs) {
1038 return customArgs != null ? new IdentityHashMap<>(customArgs) : null;
1039 }
1040}

Callers 2

ArgsMethod · 0.80
toBuilderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected