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

Method add

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

Adds a number of occurrences of an element to this multiset. Note that if occurrences == 1, this method has the identical effect to #add(Object). This method is functionally equivalent (except in the case of overflow) to the call {@code addAll(Collections.nCopies(element, occurrences

(@Nullable E element, int occurrences)

Source from the content-addressed store, hash-verified

128 * occurrences} is zero, the implementation may opt to return normally.
129 */
130 @CanIgnoreReturnValue
131 int add(@Nullable E element, int occurrences);
132
133 /**

Callers 15

initComponentsMethod · 0.65
compileTimeErrorMethod · 0.65
runTimeErrorMethod · 0.65
IOErrorMethod · 0.65
internalErrorMethod · 0.65
getMethod · 0.65
AutoIndentWriterMethod · 0.65
pushIndentationMethod · 0.65
setTextMethod · 0.65
defineStringMethod · 0.65

Calls

no outgoing calls

Tested by 4

TestRigMethod · 0.52
createBitsetsMethod · 0.52
mainMethod · 0.52
scoreDocumentsMethod · 0.52