Package jmathexpr.arithmetic.relation

Examples of jmathexpr.arithmetic.relation.LT


    }

    @Override
    public TruthValue contains(Expression element) {
        if (element instanceof ANumber) {
            Expression leftTest = leftClosed ? new LE(a, element).evaluate() : new LT(a, element).evaluate();
            Expression rightTest = rightClosed ? new LE(element, b).evaluate() : new LT(element, b).evaluate();
           
            if (leftTest instanceof TruthValue && rightTest instanceof TruthValue) {
                return ((TruthValue) leftTest).and((TruthValue) rightTest);
            }
        }
View Full Code Here

TOP

Related Classes of jmathexpr.arithmetic.relation.LT

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.