proj/proj1b/LinkedListDeque.java
@Override
    public void printDeque() {
        ListNode node = sentinel;
        while (node.next != sentinel) {
            System.out.print(node.next.item + " ");
            node = node.next;
        }
    }
/**  Prints the items in the deque from first to last, separated by a space. */
Prints the items in the deque from first to last, separated by a space.
Prints the items in the deque from first to last separated by a space .
@Override
    public void printDeque() {
        ListNode node = sentinel;
        while (node.next != sentinel) {
            System.out.print(node.next.item + " ");
            node = node.next;
        }
    }
@ Override public void printDeque ( ) { ListNode node = sentinel ; while ( node . next != sentinel ) { System . out . print ( node . next . item + " " ) ; node = node . next ; } }
Prints the items in the deque from first to last, separated by a space.
Prints the items in the deque from first to last separated by a space .