diff --git a/src/MultiSet.java b/src/MultiSet.java new file mode 100644 index 0000000..7c0f41c --- /dev/null +++ b/src/MultiSet.java @@ -0,0 +1,14 @@ +import java.util.List; +public interface MultiSet { + boolean add(T item); + + void remove(T item); + + boolean contains(T item); + + boolean isempty(); + + int count(T item); + + int size(); +}