src/utils/procedure/ProcedureFactory.java
public double startExpression(Object originator, boolean silentlyContinue) throws MatrixException {
        if (expressionLock != 0) {
            if (silentlyContinue) return 0;
            else throw new MatrixException("Procedure factory is reserved by: " + originator);
        }
        this.silentlyContinue = silentlyContinue;
        expressionLock = random.nextDouble();
        return expressionLock;
    }
/**
     * Starts new expression and reserves procedure factory with expression lock.
     *
     * @param originator originator of procedure request.
     * @param silentlyContinue if true silently returns and continues creation of existing procedure without throwing exception.
     * @throws MatrixException throws exception if procedure factory is already reserved by another request
     * @return unique expression lock key.
     */
Starts new expression and reserves procedure factory with expression lock.
@param originator originator of procedure request.
@param silentlyContinue if true silently returns and continues creation of existing procedure without throwing exception.
@throws MatrixException throws exception if procedure factory is already reserved by another request
@return unique expression lock key.
Starts new expression and reserves procedure factory with expression lock . @param originator originator of procedure request . @param silentlyContinue if true silently returns and continues creation of existing procedure without throwing exception . @throws MatrixException throws exception if procedure factory is already reserved by another request @return unique expression lock key .
public double startExpression(Object originator, boolean silentlyContinue) throws MatrixException {
        if (expressionLock != 0) {
            if (silentlyContinue) return 0;
            else throw new MatrixException("Procedure factory is reserved by: " + originator);
        }
        this.silentlyContinue = silentlyContinue;
        expressionLock = random.nextDouble();
        return expressionLock;
    }
public double startExpression ( Object originator , boolean silentlyContinue ) throws MatrixException { if ( expressionLock != 0 ) { if ( silentlyContinue ) return 0 ; else throw new MatrixException ( "Procedure factory is reserved by: " + originator ) ; } this . silentlyContinue = silentlyContinue ; expressionLock = random . nextDouble ( ) ; return expressionLock ; }
Starts new expression and reserves procedure factory with expression lock.
Starts new expression and reserves procedure factory with expression lock .