/**
 * @author CIS121 Staff
 * A Singly Linked List.  This is just a class that stores a reference to an
 * element it contains and a reference to the next SinglyLinkedList object in the
 * list.
 *
 */
public class SinglyLinkedList<K> {
	/**Constructor 1
	 * @param el an element of generic type K to be stored
	 */
	public SinglyLinkedList(final K el){
        /*YOUR CODE HERE*/
		
	}
	
	/** Constructor 2
	 * @param next the next SinglyLinkedList object in this list
	 * @param el an element of generic type K to be stored
	 */
	public SinglyLinkedList(SinglyLinkedList<K> next, final K el) {
        /*YOUR CODE HERE*/
	}
	
	/** Returns the SinglyLinkedList object which this object references.
	 *  The next SinglyLinkedList object in the list. Returns null if this is 
	 *  the head and the tail of the list.
	 * 
	 * @return the next element in this list (careful this could be null!)
	 */
	public SinglyLinkedList<K> getNext(){
        /*YOUR CODE HERE*/
		return null;
	}
	
	/** Sets the SinglyLinkedList object this references.
	 * @param next the new object to which this object points, can be null
	 */
	public void setNext(SinglyLinkedList<K> next){
        /*YOUR CODE HERE*/
		
	}
	
	/** Get the generic element this object stores
	 * @return the elemet stored by this object
	 */
	public K getElement(){
        /*YOUR CODE HERE*/
		return null;
	}	
}
