/*
 * Ejemplo.java
 *
 * Created on December 13, 2004, 11:18 PM
 */

package com.softtek;

/**
 *
 * @author  andres
 */
public class Ejemplo
{
    
    /** Creates a new instance of Ejemplo */
    public Ejemplo()
    {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        ListaLigada lista = new Solucion();
        lista.add(new Integer(1));
        lista.add(new Integer(2));
        lista.add(new Integer(3));
        
        
        System.out.println(lista.contains(new Integer(3)));  // true
        System.out.println(lista.contains(new Integer(23))); // false
        System.out.println(lista.get(0)); // regresa 3
        System.out.println(lista.get(2)); // regresa 1
    }
    
}
