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