// Decompiled by DJ v3.12.12.96 Copyright 2011 Atanas Neshkov  Date: 08/10/2012 8:48:00
// Home Page: http://members.fortunecity.com/neshkov/dj.html http://www.neshkov.com/dj.html - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   NoRepe.java

package project;

import java.io.InputStream;
import java.io.PrintStream;
import java.util.Vector;

// Referenced classes of package project:
//            MensajeDeError

public class NoRepe
{

    public NoRepe(int tam2, String modulo2, int arr2[])
    {
        h = 1;
        arrayv = new Vector();
        contador = 0;
        color = 0;
        arrv = new Vector();
        arr = arr2;
        modulo = modulo2;
        tam = tam2;
        array = new char[tam + 1];
        for(int i = 0; i < arr.length; i++)
            arrv.add("" + arr[i]);

    }

    public int respuesta(int num2, String buscar2, String grado2)
    {
        int numeroAdevolver;
        num = num2;
        buscar = buscar2;
        grado = grado2;
        color = 0;
        System.out.println("buscar: " + buscar);
        System.out.println("grado: " + grado);
        System.out.println("num: " + num);
        numeroAdevolver = Integer.parseInt((String)arrv.elementAt(num));
        arrv.remove(num);
        return numeroAdevolver;
        Exception e;
        e;
        e.printStackTrace();
        MensajeDeError mensaje = new MensajeDeError();
        mensaje.mensaje(true, e.toString());
        mensaje = null;
        return -2;
    }

    int h;
    String Area;
    String gradoEncontrado;
    int tam;
    char array[];
    Vector arrayv;
    int contador;
    String buscar;
    String grado;
    int color;
    int num;
    int ultimaHecha;
    InputStream stream;
    int arr[];
    Vector arrv;
    String modulo;
}