Serializable, ObjIntConsumer<T>, ObjectIntProcedure<T>public final class BagAddOccurrencesProcedure<T> extends Object implements ObjectIntProcedure<T>
| Constructor | Description |
|---|---|
BagAddOccurrencesProcedure(MutableBag<T> mutableBag) |
| Modifier and Type | Method | Description |
|---|---|---|
MutableBag<T> |
getResult() |
|
static <T> BagAddOccurrencesProcedure<T> |
on(MutableBag<T> mutableBag) |
|
String |
toString() |
|
void |
value(T each,
int occurrences) |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptpublic BagAddOccurrencesProcedure(MutableBag<T> mutableBag)
public static <T> BagAddOccurrencesProcedure<T> on(MutableBag<T> mutableBag)
public void value(T each, int occurrences)
value in interface ObjectIntProcedure<T>public MutableBag<T> getResult()
Copyright © 2004–2019. All rights reserved.