Package org.jquantlib.math.functions

Examples of org.jquantlib.math.functions.GreaterEqualPredicate


    @Override
    public List</* @Time */Double> mandatoryTimes() {
        final List</* @Time */Double> times = underlying.mandatoryTimes();

        // discard negative times...
        final Array array = new FindIf(exerciseTimes, new Bind2ndPredicate(new GreaterEqualPredicate(), 0.0)).op();
        // and add the positive ones
        for (int i=0; i< array.size(); i++) {
            times.add(array.get(i));
        }
        return times;
View Full Code Here


    @Override
    public List</* @Time */Double> mandatoryTimes() {
        final List</* @Time */Double> times = underlying.mandatoryTimes();

        // discard negative times...
        final Array array = new FindIf(exerciseTimes, new Bind2ndPredicate(new GreaterEqualPredicate(), 0.0)).op();
        // and add the positive ones
        for (int i=0; i< array.size(); i++) {
            times.add(array.get(i));
        }
        return times;
View Full Code Here

TOP

Related Classes of org.jquantlib.math.functions.GreaterEqualPredicate

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.