Package org.openquark.cal.foreignsupport.module.Range

Examples of org.openquark.cal.foreignsupport.module.Range.RangeValue$BetweenIncludingRightEndpoint


        if (!(value instanceof RangeValue)) {
            throw new IllegalArgumentException("Error in RangeValueNode.setOutputJavaValue: output must be an instance of RangeValue, not an instance of: " + value.getClass().getName());
        }
       
        // Take info from range value and put into ours
        RangeValue rangeValue = (RangeValue)value;
        form = new Form(rangeValue.hasLeftBound(), rangeValue.hasRightBound(), rangeValue.includesLeftBound(), rangeValue.includesRightBound());
        if (form.hasLeftBound()) {
            leftNode.setOutputJavaValue(rangeValue.getLeftEndpoint());
        }
        if (form.hasRightBound()) {
            rightNode.setOutputJavaValue(rangeValue.getRightEndpoint());
        }
    }
View Full Code Here

TOP

Related Classes of org.openquark.cal.foreignsupport.module.Range.RangeValue$BetweenIncludingRightEndpoint

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.