Compruebe si LinkedList es Empyth Java
if(YOUR_LINKED_LIST.size() == 0){}// empty
Ghaith Alzin
if(YOUR_LINKED_LIST.size() == 0){}// empty