/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author gabriele */ package jmylistbad; public class ListElement { public ListElement( int v, ListElement n ){ valore =v; next =n; }; public void setValore (int v){ valore =v; }; public void setNext (ListElement n){ next =n;} int getValore(){return valore;}; ListElement getNext(){return next;}; private int valore=0; private ListElement next =null; }