Skip to content

Commit bd2a99c

Browse files
authored
set的接口
1 parent db53cec commit bd2a99c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Set.java

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
public interface Set<E> {
2+
void add(E e);
3+
void remove(E e);
4+
boolean contains(E e);
5+
int getSize();
6+
boolean isEmpty();
7+
}

0 commit comments

Comments
 (0)