MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / getFirst

Method getFirst

src/tsd/client/QueryString.java:85–88  ·  view source on GitHub ↗

Returns the first value for the given key, or null.

(final String key)

Source from the content-addressed store, hash-verified

83 * Returns the first value for the given key, or {@code null}.
84 */
85 public String getFirst(final String key) {
86 final ArrayList<String> values = super.get(key);
87 return values == null ? null : values.get(0);
88 }
89
90}

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected