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

Method incrementAndGet

output/java_guava/1.4.19/AtomicLongMap.java:95–98  ·  view source on GitHub ↗

Increments by one the value currently associated with key, and returns the new value.

(K key)

Source from the content-addressed store, hash-verified

93 */
94
95 @CanIgnoreReturnValue
96 public long incrementAndGet(K key) {
97 return addAndGet(key, 1);
98 }
99
100 /**
101 * Decrements by one the value currently associated with {@code key}, and returns the new value.

Callers 3

postReadCleanupMethod · 0.45
captureMethod · 0.45
postReadCleanupMethod · 0.45

Calls 1

addAndGetMethod · 0.95

Tested by

no test coverage detected