@Test public void testSubList() { StatementParameterList list = addEntries(new StatementParameterList(), 4); assertNotNull(list.subList(0, 2)); assertEquals(2, list.subList(0, 2).size()); }
@Override public List<JdbcStatementParameter> subList(int fromIndex, int toIndex) { return getParameters().subList(fromIndex, toIndex); }
StatementParameterList extends AbstractCollection<JdbcStatementParameter> implements StatementParameterCollection { @Override public List<JdbcStatementParameter> subList(int fromIndex, int toIndex) { return getParameters().subList(fromIndex, toIndex); } }
StatementParameterList extends AbstractCollection<JdbcStatementParameter> implements StatementParameterCollection { @Override public List<JdbcStatementParameter> subList(int fromIndex, int toIndex) { return getParameters().subList(fromIndex, toIndex); } StatementParameterList();  StatementParameterList(List<JdbcStatementParameter> parameters); }
StatementParameterList extends AbstractCollection<JdbcStatementParameter> implements StatementParameterCollection { @Override public List<JdbcStatementParameter> subList(int fromIndex, int toIndex) { return getParameters().subList(fromIndex, toIndex); } StatementParameterList();  StatementParameterList(List<JdbcStatementParameter> parameters); @Override JdbcStatementParameter getParameterByName(String name); @Override boolean add(JdbcStatementParameter parameter); @Override Iterator<JdbcStatementParameter> iterator(); @Override int size(); @Override void add(int index, JdbcStatementParameter element); @Override boolean addAll(Collection<? extends JdbcStatementParameter> c); @Override boolean addAll(int index, Collection<? extends JdbcStatementParameter> c); @Override JdbcStatementParameter get(int index); @Override int indexOf(Object o); @Override int lastIndexOf(Object o); @Override ListIterator<JdbcStatementParameter> listIterator(); @Override ListIterator<JdbcStatementParameter> listIterator(int index); @Override JdbcStatementParameter remove(int index); @Override JdbcStatementParameter set(int index, JdbcStatementParameter element); @Override List<JdbcStatementParameter> subList(int fromIndex, int toIndex); @Override void clear(); List<JdbcStatementParameter> getParameters(); void setParameters(List<JdbcStatementParameter> parameters); }
StatementParameterList extends AbstractCollection<JdbcStatementParameter> implements StatementParameterCollection { @Override public List<JdbcStatementParameter> subList(int fromIndex, int toIndex) { return getParameters().subList(fromIndex, toIndex); } StatementParameterList();  StatementParameterList(List<JdbcStatementParameter> parameters); @Override JdbcStatementParameter getParameterByName(String name); @Override boolean add(JdbcStatementParameter parameter); @Override Iterator<JdbcStatementParameter> iterator(); @Override int size(); @Override void add(int index, JdbcStatementParameter element); @Override boolean addAll(Collection<? extends JdbcStatementParameter> c); @Override boolean addAll(int index, Collection<? extends JdbcStatementParameter> c); @Override JdbcStatementParameter get(int index); @Override int indexOf(Object o); @Override int lastIndexOf(Object o); @Override ListIterator<JdbcStatementParameter> listIterator(); @Override ListIterator<JdbcStatementParameter> listIterator(int index); @Override JdbcStatementParameter remove(int index); @Override JdbcStatementParameter set(int index, JdbcStatementParameter element); @Override List<JdbcStatementParameter> subList(int fromIndex, int toIndex); @Override void clear(); List<JdbcStatementParameter> getParameters(); void setParameters(List<JdbcStatementParameter> parameters);  }