1 23 24 package com.sun.el.parser; 25 26 import javax.el.ELException; 27 28 import com.sun.el.lang.EvaluationContext; 29 30 34 public final class AstEqual extends BooleanNode { 35 public AstEqual(int id) { 36 super(id); 37 } 38 39 public Object getValue(EvaluationContext ctx) 40 throws ELException { 41 Object obj0 = this.children[0].getValue(ctx); 42 Object obj1 = this.children[1].getValue(ctx); 43 return Boolean.valueOf(equals(obj0, obj1)); 44 } 45 } 46 | Popular Tags |