package partition; import set.Set; /** * Created with xgiovio.macbookair. * User: xgiovio * Date: 19/05/14 * Time: 14:24 */ public interface Partition { public int size(); public boolean isEmpty(); // Restituisce l’insieme contenente il solo elemento x public Set makeSet(E x) ; // Restituisce l’unione di A e B, distruggendo i vecchi insiemi A e B public Set union(Set A, Set B) ; // restituisce l’insieme che contiene l’elemento x public Set find(E x) ; }