public class InventoryListener<T>
extends java.lang.Object
| Constructor and Description |
|---|
InventoryListener(java.lang.Class<T> type,
java.util.function.Consumer<T> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t) |
java.lang.Class<T> |
getType() |