Package pl.eternalsh.simplecalc.model

Examples of pl.eternalsh.simplecalc.model.Model


     */
    public Controller()
    {
        this.blockingQueue = new LinkedBlockingQueue<ApplicationEvent>();
        this.eventStrategyMap = new HashMap<Class<? extends ApplicationEvent>, AbstractEventStrategy>();
        this.model = new Model();
        this.view = new View(blockingQueue);

        /* Populate strategies map (since it's only one event, there's no need to create a separate method). */
        eventStrategyMap.put(CalculateExpressionEvent.class, new CalculateExpressionEventStrategy(model, view));
    }
View Full Code Here

TOP

Related Classes of pl.eternalsh.simplecalc.model.Model

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.