public synchronized boolean remove(File file){
  if (file == null)   return false;
  int index=indexOf(file);
  if (index == -1) {
    return false;
  }
  File[] newValue=new File[value.length - 1];
  System.arraycopy(value,0,newValue,0,index);
  System.arraycopy(value,index + 1,newValue,index,value.length - index - 1);
  setValue(newValue);
  return true;
}

public synchronized boolean remove ( File file ) { if ( file == null ) return false ; int index = indexOf ( file ) ; if ( index == - 1 ) { return false ; } File [ ] newValue = new File [ value . length - 1 ] ; System . arraycopy ( value , 0 , newValue , 0 , index ) ; System . arraycopy ( value , index + 1 , newValue , index , value . length - index - 1 ) ; setValue ( newValue ) ; return true ; }
mutator for this setting .
