The LinkedList class implements the List and Deque . So the class must implement these four methods, although you are right, they do the same.
By the way, LinkedList not an API. If you use an interface, for example
List<String> list = new LinkedList<>();
then you will not see the addLast , offer and offerLast .
source share