/** * Sets the item at row #<code>pos</code> to be <code>newEntry</code> * * @param newEntry - the object to be assigned to row #<code>pos</code> param pos - the row number * to be set. */ public void setObject(Object newEntry, int pos) { elements.remove(pos); elements.put(pos, newEntry); }