public final boolean removeChild(TextEdit child){
  if (fChildren == null)   return false;
  boolean result=fChildren.remove(child);
  if (result) {
    child.internalSetParent(null);
    if (fChildren.isEmpty())     fChildren=null;
  }
  return result;
}

public final boolean removeChild ( TextEdit child ) { if ( fChildren == null ) return false ; boolean result = fChildren . remove ( child ) ; if ( result ) { child . internalSetParent ( null ) ; if ( fChildren . isEmpty ( ) ) fChildren = null ; } return result ; }
removes the first occurrence of the given child from the list of children .
