Package main

Examples of main.Sequence


    /**
     * Crea un conjunto de mapas.    
     */
    public CjtMap(){
        cjtMap = new TreeMap();
        sequence = new Sequence(1, 0, 1, false);
    }
View Full Code Here


     */
    public Stack<AuxiliarElement> interpretData(){
        Stack<AuxiliarElement> queue = new Stack();
        AuxiliarElement elem;
        Dimension dim;
        Sequence seq;
        areaOc = 0;
        seq = new Sequence(1,0,1,false);       
        for(int id : idList){           
            dim = this.configurationController.getCjtElementsController().getElement(id).getDimension();
            elem = new AuxiliarElement();
            elem.setObjectId(id);
            elem.setDim(dim);
            elem.setName(this.configurationController.getCjtElementsController().getElement(id).getName());
            elem.setId(seq.getValue());
            seq.increase();
            areaOc = areaOc + (dim.getX() * dim.getY());
            queue.push(elem);
        }       
        return queue;
    }
View Full Code Here

     * Crea un conjunto de salas.
     * @param newObservers Lista de observadores.
     */
    public CjtRoomType(List<Controllers.Observer> newObservers) {
        cjtRoomType = new TreeMap();
        sequence = new Sequence(1, 0, 1, false);
        this.observers = newObservers;
    }
View Full Code Here

    /**
     * Crea un conjunto de elementos.    
     */
    public CjtElements(){       
        this.cjtElements = new TreeMap();
        this.sequence = new Sequence(3, 0, 1, false);  
        pack = new ArrayList();
    }
View Full Code Here

TOP

Related Classes of main.Sequence

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.