Lines Matching refs:index
163 public Object getByIndex(int index) throws IndexOutOfBoundsException, WrappedTargetException { in getByIndex() argument
165 if (index < 0 || index >= namesByIndex.size()) { in getByIndex()
166 throw new IndexOutOfBoundsException(Integer.toString(index), this); in getByIndex()
168 return getObject(index); in getByIndex()
316 public void dropByIndex(int index) throws SQLException, IndexOutOfBoundsException { in dropByIndex() argument
318 if (index < 0 || index >= namesByIndex.size()) { in dropByIndex()
319 throw new IndexOutOfBoundsException(Integer.toString(index), this); in dropByIndex()
321 dropImpl(index); in dropByIndex()
326 private void dropImpl(int index) throws SQLException { in dropImpl() argument
327 dropImpl(index, true); in dropImpl()
330 private void dropImpl(int index, boolean reallyDrop) throws SQLException { in dropImpl() argument
331 String name = namesByIndex.get(index); in dropImpl()
333 dropObject(index, name); in dropImpl()
335 namesByIndex.remove(index); in dropImpl()
402 protected Object getObject(int index) throws WrappedTargetException { in getObject() argument
403 String name = namesByIndex.get(index); in getObject()
410 dropImpl(index, false); in getObject()
456 protected abstract void dropObject(int index, String name) throws SQLException; in dropObject() argument