ITEM
- Type of Stuff you want to hold.public interface Bag<ITEM>
Modifier and Type | Method and Description |
---|---|
boolean |
add(ITEM item) |
java.util.List<ITEM> |
all() |
void |
clear() |
boolean |
delete(ITEM item) |
int |
size() |
java.util.Collection<ITEM> |
toCollection() |