Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private java.util.LinkedList<java.lang.Integer> |
v |
Constructor and Description |
---|
IntList3() |
Modifier and Type | Method and Description |
---|---|
void |
addBack(int i) |
void |
addFront(int i) |
boolean |
isEmpty() |
void |
readExternal(java.io.ObjectInput in) |
int |
removeBack() |
int |
removeFront() |
void |
writeExternal(java.io.ObjectOutput out) |
private static final long serialVersionUID
private java.util.LinkedList<java.lang.Integer> v
public IntList3()
public int removeFront()
removeFront
in interface IntList
public int removeBack()
removeBack
in interface IntList
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException