Class BagAddOccurrencesProcedure<T>
java.lang.Object
org.eclipse.collections.impl.block.procedure.BagAddOccurrencesProcedure<T>
- All Implemented Interfaces:
Serializable
,ObjIntConsumer<T>
,ObjectIntProcedure<T>
public final class BagAddOccurrencesProcedure<T> extends Object implements ObjectIntProcedure<T>
- Since:
- 5.0.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description BagAddOccurrencesProcedure(MutableBag<T> mutableBag)
-
Method Summary
Modifier and Type Method Description MutableBag<T>
getResult()
static <T> BagAddOccurrencesProcedure<T>
on(MutableBag<T> mutableBag)
String
toString()
void
value(T each, int occurrences)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure
accept