package util.list;
import java.io.Serializable;
class ListLink implements Cloneable, Serializable {
private Object theInfo = null;
private ListLink theNext = null;
ListLink(Object info, ListLink next) {
theInfo = info;
theNext = next;
}
Object getInfo() {
return theInfo;
}
ListLink getNext() {
return theNext;
}
void setNext(ListLink next) {
theNext = next;
}
public Object clone() {
return new ListLink(theInfo, theNext);
}
}