public linkedlist(collection c)
c
nullpointerexception
public e getfirst()
deque
getfirst
nosuchelementexception