All pastes #335086 Raw Edit

Stuff

public text v1 · immutable
·published 2007-02-01 03:01 UTC
rendered paste body
    /**
     * Returns the element at the specified position in this list.
     * Returns <code>null</code> if <code>index</code> is out of bounds.
     */
    public T get(int index) {
        if(index<size) {
            for(int i=0; i<index; i++)
            {
                if(i==index)
                {
                    T match = ListElement.next;
                }
            }
            return match;
        } else {
            return null;
        }
    }