| Modifier and Type | Field and Description |
|---|---|
private java.util.LinkedList<java.lang.Integer> |
v |
| Constructor and Description |
|---|
IntList2() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBack(int i) |
void |
addFront(int i) |
boolean |
isEmpty() |
private void |
readObject(java.io.ObjectInputStream in) |
int |
removeBack() |
int |
removeFront() |
private void |
writeObject(java.io.ObjectOutputStream out) |
private java.util.LinkedList<java.lang.Integer> v
public IntList2()
public int removeFront()
removeFront in interface IntListpublic int removeBack()
removeBack in interface IntListprivate void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOExceptionprivate void readObject(java.io.ObjectInputStream in) throws java.io.IOException
java.io.IOException