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

Method immutableEntry

output/java_guava/1.4.17/Maps.java:1321–1324  ·  view source on GitHub ↗

Returns an immutable map entry with the specified key and value. The Entry#setValue operation throws an UnsupportedOperationException. The returned entry is serializable. @param key the key to be associated with the returned entry @param value the value to be associated with the

(@Nullable K key, @Nullable V value)

Source from the content-addressed store, hash-verified

1319 */
1320
1321 @GwtCompatible(serializable = true)
1322 public static <K, V> Entry<K, V> immutableEntry(@Nullable K key, @Nullable V value) {
1323 return new ImmutableEntry<K, V>(key, value);
1324 }
1325
1326 /**
1327 * Returns an unmodifiable view of the specified set of entries. The {@link

Callers 15

computeNextMethod · 0.95
transformMethod · 0.95
applyMethod · 0.95
applyMethod · 0.95
computeNextMethod · 0.95
computeNextMethod · 0.95
computeNextMethod · 0.95
createEntrySetMethod · 0.95
satisfiesMethod · 0.95
removeEntriesIfMethod · 0.95
computeNextMethod · 0.95
getEntryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected