All pastes #536200 Raw Edit

Mine

public java v1 · immutable
·published 2007-06-04 09:33 UTC
rendered paste body
public class SomeList<E> {    private class Element {        Element next;        Object data;    }    Element first;    Element last;    private class Iterator extends java.util.Iterator<E> {        Element current;        ...        public E hasNext() {            return (current != last);        }    }}