FileDocCategorySizeDatePackage
AstGreaterThanEqual.javaAPI DocGlassfish v2 API2734Fri May 04 22:31:20 BST 2007com.sun.el.parser

AstGreaterThanEqual

public final class AstGreaterThanEqual extends BooleanNode
author
Jacob Hookom [jacob@hookom.net]
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: tcfujii $

Fields Summary
Constructors Summary
public AstGreaterThanEqual(int id)

        super(id);
    
Methods Summary
public java.lang.ObjectgetValue(com.sun.el.lang.EvaluationContext ctx)

        Object obj0 = this.children[0].getValue(ctx);
        Object obj1 = this.children[1].getValue(ctx);
        if (obj0 == obj1) {
            return Boolean.TRUE;
        }
        if (obj0 == null || obj1 == null) {
            return Boolean.FALSE;
        }
        return (compare(obj0, obj1) >= 0) ? Boolean.TRUE : Boolean.FALSE;