Useful LinkedList method

需要用到的方法:
addFirst()
add()        ==    addLast()
remove()     ==    removeFirst()   ==       pop()     ==     poll()
getFirst()   ==    peek()          ==       peekFirst()

results matching ""

    No results matching ""