@Override
    public void configure(String parameters) {
        if (parameters.isEmpty()) {
            return;
        }
        List<String> values = Op.split(parameters, " ");
        int required = 4;
        if (values.size() < required) {
            throw new RuntimeException(String.format(
                    "[configuration error] term <%s> requires <%d> parameters",
                    this.getClass().getSimpleName(), required));
        }
        Iterator<String> it = values.iterator();
        setLeft(Op.toDouble(it.next()));
        setRising(Op.toDouble(it.next()));
        setFalling(Op.toDouble(it.next()));
        setRight(Op.toDouble(it.next()));
        if (values.size() > required) {
            setHeight(Op.toDouble(it.next()));
        }
    }
@ Override public void configure ( String parameters ) { if ( parameters . isEmpty ( ) ) { return ; } List < String > values = Op . split ( parameters , " " ) ; int required = 4 ; if ( values . size ( ) < required ) { throw new RuntimeException ( String . format ( "[configuration error] term <%s> requires <%d> parameters" , this . getClass ( ) . getSimpleName ( ) , required ) ) ; } Iterator < String > it = values . iterator ( ) ; setLeft ( Op . toDouble ( it . next ( ) ) ) ; setRising ( Op . toDouble ( it . next ( ) ) ) ; setFalling ( Op . toDouble ( it . next ( ) ) ) ; setRight ( Op . toDouble ( it . next ( ) ) ) ; if ( values . size ( ) > required ) { setHeight ( Op . toDouble ( it . next ( ) ) ) ; } }
Configures the term with the parameters

@param parameters as `"left rising falling right [height]"`