Package pl.eternalsh.simplecalc.common

Source Code of pl.eternalsh.simplecalc.common.Bootstrap

package pl.eternalsh.simplecalc.common;

import pl.eternalsh.simplecalc.controller.Controller;

/* Simple calculator:
*  - supports most simple operations:
*    - addiction
*    - subtraction
*    - multiplication
*    - division
*    - (something close to) modulo division
* - supports parenthesis
* - keeps operations priorities
*
* GUI:
*  - Swing
* Model:
*  - input string parser
*  - arithmetic operations binary tree
*/

/**
* Just bootstrap, creates and runs the controller.
*
* @author Amadeusz Kosik
*/
public class Bootstrap
{
    /**
     * Creates and runs controller which runs whole application.
     *
     * @param args arguments passed in application call (unused)
     */
    public static void main(final String[] args)
    {
        Controller controller = new Controller();
        controller.runApplication();
    }
}
TOP

Related Classes of pl.eternalsh.simplecalc.common.Bootstrap

TOP
Copyright © 2018 www.massapi.com. 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.