common/src/main/java/HTTPClient/LinkedList.java
/**
     * Add the specified element to the head of the list.
     *
     * @param elem the object to add to the list.
     */
Add the specified element to the head of the list.
@param elem the object to add to the list.
Add the specified element to the head of the list . @param elem the object to add to the list .
public synchronized void addToHead(Object elem)
    {
	head = new LinkElement(elem, head);
	if (head.next == null)
	    tail = head;
    }
public synchronized void addToHead ( Object elem ) { head = new LinkElement ( elem , head ) ; if ( head . next == null ) tail = head ; }
Add the specified element to the head of the list.
Add the specified element to the head of the list .