public class TaskBaselineCollection extends AbstractList<TaskBaseline>
Represents a collection of TaskBaseline
objects.
Modifier and Type | Method and Description |
---|---|
TaskBaseline |
get(int index)
(@inheritDoc}
|
int |
getCount()
Deprecated.
Use size() instead.
|
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 baseline)
Removes baseline from this collection.
|
int |
size()
Returns 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
@Deprecated public int getCount()
Returns the number of objects contained in this TaskBaselineCollection object.
public Task getParentTask()
Parent Task
for this collection.
Read only Task
instance.
public TaskBaseline get(int index)
get
in interface List<TaskBaseline>
get
in class AbstractList<TaskBaseline>
index
- public boolean remove(Object baseline)
remove
in interface Collection<TaskBaseline>
remove
in interface List<TaskBaseline>
remove
in class AbstractCollection<TaskBaseline>
baseline
- TaskBaseline
instance to remove.TaskBaseline
instance has been removed successfully; otherwise, falsepublic TaskBaseline remove(int index)
remove
in interface List<TaskBaseline>
remove
in class AbstractList<TaskBaseline>
index
- the specified position to remove the element at.public int size()
size
in interface Collection<TaskBaseline>
size
in interface List<TaskBaseline>
size
in class AbstractCollection<TaskBaseline>
public List<TaskBaseline> toList()
Converts the TaskBaselineCollection object to a list of TaskBaseline
objects.
TaskBaseline
objects.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.