public class LinkedNode
extends java.lang.Object
Constructor and Description |
---|
LinkedNode() |
Modifier and Type | Method and Description |
---|---|
char |
data()
Getter for node char.
|
void |
data(char data)
Setter for node char.
|
LinkedNode |
next()
Getter for next node.
|
void |
next(LinkedNode nextNode)
Setter for next node.
|
LinkedNode |
prev()
Getter for previous node.
|
void |
prev(LinkedNode prevNode)
Setter for previous node.
|
int |
stabilityInt()
Getter for node int.
|
void |
stabilityInt(int data)
Setter for node int.
|
public int stabilityInt()
public void stabilityInt(int data)
data
- The int for node to hold.public char data()
public void data(char data)
data
- The char for node to hold.public LinkedNode next()
public void next(LinkedNode nextNode)
nextNode
- The next node to hold.public LinkedNode prev()
public void prev(LinkedNode prevNode)
prevNode
- The previous node.