public void addDataElement(final int listNr, final int data) {
        if (size + 2 > ia.length) {
            resize();
        }
        ia[size++] = startpointer[listNr];
        startpointer[listNr] = size;
        ia[size++] = data;
    }
Add a data element to the given list

@param listNr the list to add the data to
@param data   the data value
main/src/main/java/cgeo/geocaching/brouter/codec/LinkedListContainer.java