public bool containsEmbeddedAnd(Sentence s) { return (bool)s.accept(this, null); } }
// // PRIVATE METHODS // private List <Sentence> processSubTerm(Sentence s, List <Sentence> soFar) { if (detector.containsEmbeddedAnd(s)) { return((List <Sentence>)s.accept(this, soFar)); } else { soFar.Add(s); return(soFar); } }