Package org.boris.expr

Examples of org.boris.expr.ExprBoolean


    public void setValue(String name, int value) throws GraphCycleException {
        setValue(name, new ExprInteger(value));
    }

    public void setValue(String name, boolean value) {
        setValue(name, new ExprBoolean(value));
    }
View Full Code Here


        if (o instanceof Integer)
            return new ExprInteger(((Integer) o).intValue());

        if (o instanceof Boolean)
            return new ExprBoolean(((Boolean) o).booleanValue());

        if (o instanceof String)
            return new ExprString((String) o);

        if (o instanceof Expr)
View Full Code Here

            return true;
        } else {
            for (AbstractBinaryOperator operator : operators)
                operator.setLHS(arg);

            ExprBoolean v = (ExprBoolean) func.evaluate(operators
                    .toArray(new Expr[0]));
            return v.value;
        }
    }
View Full Code Here

TOP

Related Classes of org.boris.expr.ExprBoolean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.