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