system/src/sc/lang/SemanticNodeList.java
public int removeChild(Object toRemove) {
      int ix = indexOf(toRemove);
      if (ix == -1)
         return -1;
      remove(ix);
      return ix;
   }
/** Find the supplied node in our list, and replace it with the other one */
Find the supplied node in our list, and replace it with the other one
Find the supplied node in our list and replace it with the other one
public int removeChild(Object toRemove) {
      int ix = indexOf(toRemove);
      if (ix == -1)
         return -1;
      remove(ix);
      return ix;
   }
public int removeChild ( Object toRemove ) { int ix = indexOf ( toRemove ) ; if ( ix == - 1 ) return - 1 ; remove ( ix ) ; return ix ; }
Find the supplied node in our list, and replace it with the other one
Find the supplied node in our list and replace it with the other one