public class TaskBaselineCollection extends AbstractList<TaskBaseline>
Represents a collection of TaskBaseline
objects.
Modifier and Type | Method and Description |
---|---|
TaskBaseline |
get(int index)
(@inheritDoc}
|
Task |
getParentTask()
Parent
Task for this collection. |
TaskBaseline |
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 baseline from this collection.
|
int |
size()
Gets the number of objects contained in this TaskBaselineCollection object.
|
List<TaskBaseline> |
toList()
Converts the TaskBaselineCollection object to a list of
TaskBaseline objects. |
add, add, 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 TaskBaseline get(int index)
get
in interface List<TaskBaseline>
get
in class AbstractList<TaskBaseline>
index
- public Task getParentTask()
Parent Task
for this collection.
Read only Task
instance.
public final boolean remove(Object item)
Removes baseline from this collection.
remove
in interface Collection<TaskBaseline>
remove
in interface List<TaskBaseline>
remove
in class AbstractCollection<TaskBaseline>
item
- TaskBaseline
instance to remove.TaskBaseline
instance has been removed successfully; otherwise, falsepublic final TaskBaseline remove(int index)
remove
in interface List<TaskBaseline>
remove
in class AbstractList<TaskBaseline>
index
- the specified position to remove the element at.public final int size()
Gets the number of objects contained in this TaskBaselineCollection object.
size
in interface Collection<TaskBaseline>
size
in interface List<TaskBaseline>
size
in class AbstractCollection<TaskBaseline>
public final List<TaskBaseline> toList()
Converts the TaskBaselineCollection object to a list of TaskBaseline
objects.
TaskBaseline
objects.