NiceListLink.java

jmud-0.11/src/util/nice/NiceListLink.java · 479 B

From the archive jmud-0_11.tgz

Download the archive   « Back to the archive contents

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);
  }

}

Site Stats

Snippets: 1791
Codebases: 571