java_linkedlist.peeklast
Java LinkedList.peekLast()
Java LinkedList.peekLast() is a method in the Java LinkedList class that retrieves, but does not remove, the last element of the list. If the list is empty, it returns null. Introduced in Java 1997 with Java 1.2, peekLast() is commonly used for safely accessing the tail of a linked list without altering its structure.
https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html
java_linkedlist.peeklast.txt · Last modified: 2025/02/01 06:48 by 127.0.0.1