UNB/ CS/ David Bremner/ teaching/ java/ IntLink.java
public class IntLink{
    private int data;
    private IntLink next;

    /**
       Create a new link containing the passed integer.
       @param data integer to be stored in new IntLink
    */
    public IntLink(int data){};


    /**
       Return the next link in the list.
       @return reference to next link in list.
    */
    public IntLink getNext(){};

    /**
       Set  the reference next link in the list.
       @param next reference to new next link in list.
    */
    public IntLink setNext(IntLink next){};
    /**
       Return the integer stored in this Link.
       @return integer stored at this link.
    */
    public int getData(){};
}