public class FilterCollection extends AbstractCollection<Filter>
Contains a list of Filter objects.
Implements ICollection<Filter> interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Filter item) |
boolean |
contains(Filter item)
Returns true if this collection contains the specified item.
|
void |
copyTo(Filter[] array,
int arrayIndex)
Copies the elements from the specified array to this collection starting from the specified index.
|
Project |
getParentProject()
Gets the parent of the Filters object.
|
Iterator<Filter> |
iterator()
Returns an iterator over the elements containing in this collection.
|
boolean |
remove(Filter item)
Removes the specified item from this collection.
|
int |
size() |
List<Filter> |
toList()
Converts a filter collection to a list of
Filter objects. |
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic boolean add(Filter item)
add in interface Collection<Filter>add in class AbstractCollection<Filter>public final boolean contains(Filter item)
item - the specified item.public final void copyTo(Filter[] array, int arrayIndex)
array - the specified one-dimensional array to copy elements toarrayIndex - the zero-based index of the specified array at which copying begins.public Project getParentProject()
Gets the parent of the Filters object.
Read-only Project.
public Iterator<Filter> iterator()
iterator in interface Iterable<Filter>iterator in interface Collection<Filter>iterator in class AbstractCollection<Filter>public final boolean remove(Filter item)
item - the specified item.public final int size()
size in interface Collection<Filter>size in class AbstractCollection<Filter>