system/src/sc/lang/SemanticNodeList.java
public boolean containsChild(Object toReplace) {
      int ix = indexOf(toReplace); // TODO performance - can we use indexOfChild below?
      if (ix == -1)
         return false;
      return true;
   }
/** Find the supplied node in our list */
Find the supplied node in our list
Find the supplied node in our list
public boolean containsChild(Object toReplace) {
      int ix = indexOf(toReplace); 
      if (ix == -1)
         return false;
      return true;
   }
public boolean containsChild ( Object toReplace ) { int ix = indexOf ( toReplace ) ; if ( ix == - 1 ) return false ; return true ; }
Find the supplied node in our list
Find the supplied node in our list
// TODO performance - can we use indexOfChild below?