public class GroupCriterionCollection extends AbstractList<GroupCriterion>
Contains a collection of GroupCriterion
objects.
Implements ICollection<GroupCriterion> interface.
Modifier and Type | Method and Description |
---|---|
boolean |
add(GroupCriterion item)
Adds the specified item to this collection.
|
void |
add(int index,
GroupCriterion element)
Inserts the specified element at the specified position in this list.
|
GroupCriterion |
get(int index)
(@inheritDoc}
|
Group |
getParentGroup()
Gets the parent of the GroupCriterion object.
|
GroupCriterion |
remove(int index)
Removes the element at the specified position in this collection and returns the element that was removed from
the collection.
|
boolean |
remove(Object item)
Removes a single instance of the specified element from this collection, if it is present.
|
int |
size()
Gets the number of elements contained in this collection.
|
List<GroupCriterion> |
toList()
Converts a GroupCriterion collection to a list of
GroupCriterion objects. |
addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, set, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
addAll, contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public final boolean add(GroupCriterion item)
Adds the specified item to this collection.
add
in interface Collection<GroupCriterion>
add
in interface List<GroupCriterion>
add
in class AbstractList<GroupCriterion>
item
- the specified item to add to this collection.public void add(int index, GroupCriterion element)
add
in interface List<GroupCriterion>
add
in class AbstractList<GroupCriterion>
index
- element
- public GroupCriterion get(int index)
get
in interface List<GroupCriterion>
get
in class AbstractList<GroupCriterion>
index
- public final Group getParentGroup()
Gets the parent of the GroupCriterion object.
public final boolean remove(Object item)
remove
in interface Collection<GroupCriterion>
remove
in interface List<GroupCriterion>
remove
in class AbstractCollection<GroupCriterion>
item
- element to be removed from this collection, if present.public final GroupCriterion remove(int index)
remove
in interface List<GroupCriterion>
remove
in class AbstractList<GroupCriterion>
index
- the specified position to remove the element at.public final int size()
Gets the number of elements contained in this collection.
size
in interface Collection<GroupCriterion>
size
in interface List<GroupCriterion>
size
in class AbstractCollection<GroupCriterion>
public final List<GroupCriterion> toList()
Converts a GroupCriterion collection to a list of GroupCriterion
objects.
GroupCriterion
objects.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.