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 IntList
public int removeBack()
removeBack
in interface IntList
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException
java.io.IOException