public final class SqlParameterList extends Object implements List<SqlParameter>
Constructor and Description |
---|
SqlParameterList()
Initializes a new instance of the SqlParameterList class.
|
SqlParameterList(Collection<SqlParameter> parameters)
Initializes a new instance of the SqlParameterList class from a collection of parameters.
|
SqlParameterList(SqlParameter... parameters)
Initializes a new instance of the SqlParameterList class from an array of parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
SqlParameter element) |
boolean |
add(SqlParameter parameter) |
boolean |
addAll(Collection<? extends SqlParameter> parameters) |
boolean |
addAll(int index,
Collection<? extends SqlParameter> c) |
void |
clear() |
boolean |
contains(Object parameter) |
boolean |
containsAll(Collection<?> parameters) |
SqlParameter |
get(int index) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<SqlParameter> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<SqlParameter> |
listIterator() |
ListIterator<SqlParameter> |
listIterator(int index) |
SqlParameter |
remove(int index) |
boolean |
remove(Object parameter) |
boolean |
removeAll(Collection<?> parameters) |
boolean |
retainAll(Collection<?> parameters) |
SqlParameter |
set(int index,
SqlParameter element) |
int |
size() |
List<SqlParameter> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] parameters) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public SqlParameterList()
public SqlParameterList(SqlParameter... parameters)
parameters
- the array of parameters.IllegalArgumentException
- thrown if an error occurspublic SqlParameterList(Collection<SqlParameter> parameters)
parameters
- the collection of parameters.IllegalArgumentException
- thrown if an error occurspublic boolean add(SqlParameter parameter)
add
in interface Collection<SqlParameter>
add
in interface List<SqlParameter>
public boolean addAll(Collection<? extends SqlParameter> parameters)
addAll
in interface Collection<SqlParameter>
addAll
in interface List<SqlParameter>
public boolean addAll(int index, Collection<? extends SqlParameter> c)
addAll
in interface List<SqlParameter>
public void clear()
clear
in interface Collection<SqlParameter>
clear
in interface List<SqlParameter>
public SqlParameter get(int index)
get
in interface List<SqlParameter>
public SqlParameter set(int index, SqlParameter element)
set
in interface List<SqlParameter>
public void add(int index, SqlParameter element)
add
in interface List<SqlParameter>
public SqlParameter remove(int index)
remove
in interface List<SqlParameter>
public int indexOf(Object o)
indexOf
in interface List<SqlParameter>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<SqlParameter>
public ListIterator<SqlParameter> listIterator()
listIterator
in interface List<SqlParameter>
public ListIterator<SqlParameter> listIterator(int index)
listIterator
in interface List<SqlParameter>
public List<SqlParameter> subList(int fromIndex, int toIndex)
subList
in interface List<SqlParameter>
public boolean contains(Object parameter)
contains
in interface Collection<SqlParameter>
contains
in interface List<SqlParameter>
public boolean containsAll(Collection<?> parameters)
containsAll
in interface Collection<SqlParameter>
containsAll
in interface List<SqlParameter>
public boolean isEmpty()
isEmpty
in interface Collection<SqlParameter>
isEmpty
in interface List<SqlParameter>
public Iterator<SqlParameter> iterator()
iterator
in interface Iterable<SqlParameter>
iterator
in interface Collection<SqlParameter>
iterator
in interface List<SqlParameter>
public boolean remove(Object parameter)
remove
in interface Collection<SqlParameter>
remove
in interface List<SqlParameter>
public boolean removeAll(Collection<?> parameters)
removeAll
in interface Collection<SqlParameter>
removeAll
in interface List<SqlParameter>
public boolean retainAll(Collection<?> parameters)
retainAll
in interface Collection<SqlParameter>
retainAll
in interface List<SqlParameter>
public int size()
size
in interface Collection<SqlParameter>
size
in interface List<SqlParameter>
public Object[] toArray()
toArray
in interface Collection<SqlParameter>
toArray
in interface List<SqlParameter>
public <T> T[] toArray(T[] parameters)
toArray
in interface Collection<SqlParameter>
toArray
in interface List<SqlParameter>
Copyright © 2020 Microsoft Corporation. All rights reserved.