package util.nice; class NiceListLink implements Cloneable { private Niceable theInfo = null; private NiceListLink theNext = null; NiceListLink(Niceable info, NiceListLink next) { theInfo = info; theNext = next; } Niceable getInfo() { return theInfo; } NiceListLink getNext() { return theNext; } void setNext(NiceListLink next) { theNext = next; } public Object clone() { return new NiceListLink(theInfo, theNext); } }