corda/classpath/java/util/Collection.java

16 lines
259 B
Java
Raw Normal View History

2007-07-21 22:36:51 +00:00
package java.util;
public interface Collection<T> extends Iterable<T> {
public int size();
2007-11-07 00:41:53 +00:00
public boolean isEmpty();
2007-07-22 19:06:21 +00:00
public boolean contains(T element);
2007-07-22 03:47:08 +00:00
public boolean add(T element);
2007-07-21 22:36:51 +00:00
2007-07-22 03:47:08 +00:00
public boolean remove(T element);
2007-07-21 22:36:51 +00:00
public void clear();
}