Set - boolean remove(AnyType x); boolean contains(AnyType...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
package comp202; public interface Set<AnyType> extends Iterable<AnyType> { boolean isEmpty(); int getSize(); boolean add(AnyType x);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: boolean remove(AnyType x); boolean contains(AnyType x); java.util.Iterator<AnyType> iterator(); }...
View Full Document

This note was uploaded on 04/13/2011 for the course ENGR 301 taught by Professor Raultekin during the Spring '10 term at Boğaziçi University.

Ask a homework question - tutors are online