X480: LinkedList - LinearNodes

The LinearNode class is used to represent the individual nodes in a linear LinkedList. This particular LinkedList is doubly linked. Complete the LinearNode class.

Your Answer:

x
 
1
private class LinearNode<E> {
2
    
3
    public LinearNode(E element) {
4
        
5
    }
6
    public  getPrev() {
7
        
8
    }
9
    public  getNext() {
10
        
11
    }
12
    public  getElem() {
13
        
14
    }
15
    public void setPrev(  ) {
16
        
17
    }
18
    public void setNext(  ) {
19
        
20
    }
21
    public void setElem(  ) {
22
        
23
    }
24
 }
25

Feedback

Your feedback will appear here when you check your answer.