From dcbf9e455246a91260c6f81cb35b7733a0f668ee Mon Sep 17 00:00:00 2001 From: aryanhakim17 Date: Mon, 18 Sep 2023 18:47:39 -0400 Subject: [PATCH] Committing MultiSet.java to remote --- src/MultiSet.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/MultiSet.java 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(); +}