@Test public void testGetRhs() { Comparison a = getComparison(); Comparison b = getComparison(); AndPredicate andPredicate = new AndPredicate(new And(a, b)); assertEquals(new ComparisonExpression(b), andPredicate.getRhs()); }
public QueryPredicate getRhs() { return QueryPredicate.createFrom(and.getArguments()[1]); }
AndPredicate extends QueryPredicate { public QueryPredicate getRhs() { return QueryPredicate.createFrom(and.getArguments()[1]); } }
AndPredicate extends QueryPredicate { public QueryPredicate getRhs() { return QueryPredicate.createFrom(and.getArguments()[1]); } AndPredicate(And and); }
AndPredicate extends QueryPredicate { public QueryPredicate getRhs() { return QueryPredicate.createFrom(and.getArguments()[1]); } AndPredicate(And and); CNF asCNF(); QueryPredicate getLhs(); QueryPredicate getRhs(); @Override boolean equals(Object o); @Override int hashCode(); }
AndPredicate extends QueryPredicate { public QueryPredicate getRhs() { return QueryPredicate.createFrom(and.getArguments()[1]); } AndPredicate(And and); CNF asCNF(); QueryPredicate getLhs(); QueryPredicate getRhs(); @Override boolean equals(Object o); @Override int hashCode();  }