corda/classpath/java/util/Collection.java

16 lines
259 B
Java
Raw Normal View History

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