public virtual Object visitNotSentence(UnarySentence ns, Object arg) { Hashtable s =(Hashtable)arg; return new SetOps().union(s,(Hashtable)ns.getNegated().accept(this,arg)); }
public Object visitNotSentence(UnarySentence fs, Object arg) { Object negatedValue = fs.getNegated().accept(this,null); if (negatedValue != null) { return (!((bool) negatedValue)); } else { return null; } }