MCPcopy Create free account
hub / github.com/antlr/codebuff / entryOf

Method entryOf

output/java_guava/1.4.17/ImmutableMap.java:130–132  ·  view source on GitHub ↗

Verifies that key and value are non-null, and returns a new immutable entry with those values. A call to Map.Entry#setValue on the returned entry will always throw UnsupportedOperationException.

(K key, V value)

Source from the content-addressed store, hash-verified

128 */
129
130 static <K, V> ImmutableMapEntry<K, V> entryOf(K key, V value) {
131 return new ImmutableMapEntry<K, V>(key, value);
132 }
133
134 /**
135 * Returns a new builder. The generated builder is equivalent to the builder

Callers 4

ofMethod · 0.95
ofMethod · 0.45
ofMethod · 0.45
putMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected