set.java

来自「java版的数据结构的完全代码 免费提供了 学习数据结构的请下载」· Java 代码 · 共 18 行

JAVA
18
字号
// Introduced in Chapter 11/** A set of Objects. */public interface Set<E> {  /** Add target to this Set. */  public void add(E target);  /** Return true if this Set contains target. */  public boolean contains(E target);  /** Remove target from this Set. */  public void remove(E target);  /** Return the number of elements in this Set. */  public int size();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?