public void remove(T item){
  if (set.remove(item)) {
    fireContentsChanged(this,0,getSize() - 1);
  }
}

public void remove ( T item ) { if ( set . remove ( item ) ) { fireContentsChanged ( this , 0 , getSize ( ) - 1 ) ; } }
removes the specified item from this list model .
