this.name = name; this.size = size;
return this.size < that.size ? - 1 : this.size == that.size ? 0 : 1 ;
return (o instanceof Fruit && name.equals(((Fruit)o).name) && size == ((Fruit)o).size) ;
return this.name + "(" + size + ")";