* @param p the Predicate condition
* @param val the associated Object value
*/
public void add(Predicate p, Object val) {
if ( m_tail == null ) {
m_tail = new IfExpression(p, new ObjectLiteral(val), m_head);
m_head = m_tail;
} else {
IfExpression ie = new IfExpression(p, new ObjectLiteral(val),
m_tail.getElseExpression());
m_tail.setElseExpression(ie);
m_tail = ie;
}
}