public final class SqlParameterCollection extends Object implements Collection<SqlParameter>
Constructor and Description |
---|
SqlParameterCollection()
Initializes a new instance of the SqlParameterCollection class.
|
SqlParameterCollection(Collection<SqlParameter> parameters)
Initializes a new instance of the SqlParameterCollection class from a collection of parameters.
|
SqlParameterCollection(SqlParameter... parameters)
Initializes a new instance of the SqlParameterCollection class from an array of parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(SqlParameter parameter) |
boolean |
addAll(Collection<? extends SqlParameter> parameters) |
void |
clear() |
boolean |
contains(Object parameter) |
boolean |
containsAll(Collection<?> parameters) |
boolean |
isEmpty() |
Iterator<SqlParameter> |
iterator() |
boolean |
remove(Object parameter) |
boolean |
removeAll(Collection<?> parameters) |
boolean |
retainAll(Collection<?> parameters) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] parameters) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public SqlParameterCollection()
public SqlParameterCollection(SqlParameter... parameters)
parameters
- the array of parameters.public SqlParameterCollection(Collection<SqlParameter> parameters)
parameters
- the collection of parameters.public boolean add(SqlParameter parameter)
add
in interface Collection<SqlParameter>
public boolean addAll(Collection<? extends SqlParameter> parameters)
addAll
in interface Collection<SqlParameter>
public void clear()
clear
in interface Collection<SqlParameter>
public boolean contains(Object parameter)
contains
in interface Collection<SqlParameter>
public boolean containsAll(Collection<?> parameters)
containsAll
in interface Collection<SqlParameter>
public boolean isEmpty()
isEmpty
in interface Collection<SqlParameter>
public Iterator<SqlParameter> iterator()
iterator
in interface Iterable<SqlParameter>
iterator
in interface Collection<SqlParameter>
public boolean remove(Object parameter)
remove
in interface Collection<SqlParameter>
public boolean removeAll(Collection<?> parameters)
removeAll
in interface Collection<SqlParameter>
public boolean retainAll(Collection<?> parameters)
retainAll
in interface Collection<SqlParameter>
public int size()
size
in interface Collection<SqlParameter>
public Object[] toArray()
toArray
in interface Collection<SqlParameter>
public <T> T[] toArray(T[] parameters)
toArray
in interface Collection<SqlParameter>
Copyright © 2018. All rights reserved.