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

Method setCount

corpus/java/training/guava/collect/Multiset.java:162–162  ·  view source on GitHub ↗

Adds or removes the necessary occurrences of an element such that the element attains the desired count. @param element the element to add or remove occurrences of; may be null only if explicitly allowed by the implementation @param count the desired count of the element in this multiset @retur

(E element, int count)

Source from the content-addressed store, hash-verified

160 * count} is zero, the implementor may optionally return zero instead.
161 */
162 @CanIgnoreReturnValue
163 int setCount(E element, int count);
164
165 /**

Callers 15

removeMethod · 0.65
setCountMethod · 0.65
setCountMethod · 0.65
setCountMethod · 0.65
setCountMethod · 0.65
setCountMethod · 0.65
setCountMethod · 0.65
retainOccurrencesImplMethod · 0.65
setCountImplMethod · 0.65
removeMethod · 0.65
removeMethod · 0.65
setCountMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected