Class DoublyLinkedList<T>
java.lang.Object
edu.berkeley.cs.jqf.instrument.util.DoublyLinkedList<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclear()booleanisEmpty()iterator()peek()pop()voidbooleanintsize()voidsynchronizedAddFirst(T item) voidsynchronizedAddLast(T item) booleansynchronizedRemove(T item) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DoublyLinkedList
public DoublyLinkedList()
-
-
Method Details
-
addFirst
-
addLast
-
removeFirst
-
removeLast
-
remove
-
size
public int size() -
push
-
peek
-
pop
-
isEmpty
-
clear
-
iterator
-
synchronizedAddFirst
-
synchronizedAddLast
-
synchronizedRemove
-
synchronizedRemoveFirst
-
synchronizedRemoveLast
-
toString
-