Package java.util
Class LinkedList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
- All Implemented Interfaces:
Serializable
,Cloneable
,Collection
,List
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clone()
getFirst()
getLast()
listIterator
(int var0) int
size()
Methods inherited from class java.util.AbstractSequentialList
get
Methods inherited from class java.util.AbstractList
add, addAll, indexOf, iterator, lastIndexOf, listIterator, remove, removeRange, set, subList
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LinkedList
public LinkedList() -
LinkedList
-
-
Method Details
-
addFirst
-
addLast
-
clone
-
getFirst
-
getLast
-
listIterator
- Specified by:
listIterator
in interfaceList
- Specified by:
listIterator
in classAbstractSequentialList
-
removeFirst
-
removeLast
-
size
public int size()- Specified by:
size
in interfaceCollection
-