Package consola

Examples of consola.Menu.agregar()


                System.out.println("2 test");
            }
        });

        Menu submenu = new Menu();
        submenu.agregar("Sub1", new MenuCallback() {
            public void ejecutar() {
                System.out.println("1 subtest");
            }
        });
        submenu.agregar("Sub2", new MenuCallback() {
View Full Code Here


        submenu.agregar("Sub1", new MenuCallback() {
            public void ejecutar() {
                System.out.println("1 subtest");
            }
        });
        submenu.agregar("Sub2", new MenuCallback() {
            public void ejecutar() {
                System.out.println("2 subtest");
            }
        });
        submenu.agregar("Sub3", new MenuCallback() {
View Full Code Here

        submenu.agregar("Sub2", new MenuCallback() {
            public void ejecutar() {
                System.out.println("2 subtest");
            }
        });
        submenu.agregar("Sub3", new MenuCallback() {
            public void ejecutar() {
                System.out.println("3 subtest");
            }
        });
View Full Code Here

        Menu menu = new Menu();
        menu.setTitulo("Gauss-Jacobi");


        Menu submenu = new Menu();
        submenu.agregar("Matriz 1", new MenuCallback() {
            public void ejecutar() {

                double[][] matriz = new double[3][4];

                matriz[0][0] = 3;
View Full Code Here

                matriz[2][2] = 10;
                matriz[2][3] = 72.4;
                metodo.evaluar(matriz, 0.01, 100);
            }
        });
        submenu.agregar("Matriz 2", new MenuCallback() {
            public void ejecutar() {

                double[][] matriz = new double[3][4];

        //lo ordene manualmente
View Full Code Here

        Menu menu = new Menu();
        menu.setTitulo("Gauss");


        Menu submenu = new Menu();
        submenu.agregar("Matriz 1 - Clase", new MenuCallback() {
            public void ejecutar() {

                double[][] matriz = new double[3][4];

                matriz[0][0] = 2;
View Full Code Here

                metodo.evaluar(matriz, false);
            }
        });

        submenu.agregar("Matriz 2", new MenuCallback() {
            public void ejecutar() {

                double[][] matriz = new double[3][4];

                matriz[0][0] = 5;
View Full Code Here

                metodo.evaluar(matriz, false);
            }
        });

        submenu.agregar("Matriz 3", new MenuCallback() {
            public void ejecutar() {

                double[][] matriz = new double[4][5];

                matriz[0][0] = 3;
View Full Code Here

                metodo.evaluar(matriz, false);
            }
        });

        submenu.agregar("Matriz 4 - pivoteo", new MenuCallback() {
            public void ejecutar() {

                double[][] matriz = new double[3][4];

                matriz[0][0] = 1;
View Full Code Here

                metodo.evaluar(matriz, false);
            }
        });

        submenu.agregar("Matriz 5 - pivoteo", new MenuCallback() {
            public void ejecutar() {

                double[][] matriz = new double[3][4];

                matriz[0][0] = 0.4;
View Full Code Here

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.