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

Method hasValue

api/src/main/java/io/grpc/QueryParams.java:200–202  ·  view source on GitHub ↗

Returns true if this entry has a value, false if it is a "lone" key.

()

Source from the content-addressed store, hash-verified

198
199 /** Returns {@code true} if this entry has a value, {@code false} if it is a "lone" key. */
200 public boolean hasValue() {
201 return value != null;
202 }
203
204 /**
205 * Creates a new key/value pair entry.

Callers 2

entryPropertiesMethod · 0.95

Calls

no outgoing calls

Tested by 2

entryPropertiesMethod · 0.76