public class TaskBaselineCollection extends AbstractList<T>
Represents a collection of TaskBaseline
objects.
Modifier and Type | Method and Description |
---|---|
boolean |
add(TaskBaseline e)
This is the stub implementation of ICollection's Add method, that only throws UnsupportedOperationException
|
void |
clear() |
TaskBaseline |
get(int index)
(@inheritDoc}
|
Task |
getParentTask()
Gets the parent
Task for this collection. |
Iterator<TaskBaseline> |
iterator()
Returns an enumerator 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.
|
void |
sort(Comparator<? super T> c) |
List<TaskBaseline> |
toList()
Converts the TaskBaselineCollection object to a list of
TaskBaseline objects. |
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, set, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
addAll, contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public final boolean add(TaskBaseline e)
This is the stub implementation of ICollection's Add method, that only throws UnsupportedOperationException
add
in interface Collection<TaskBaseline>
add
in interface List<TaskBaseline>
add
in class AbstractList<TaskBaseline>
e
- The item to add.public final void clear()
clear
in interface Collection<TaskBaseline>
clear
in interface List<TaskBaseline>
clear
in class AbstractList<TaskBaseline>
public final Task getParentTask()
Gets the parent Task
for this collection.
Task
for this collection.public final Iterator<TaskBaseline> iterator()
Returns an enumerator for this collection.
iterator
in interface Iterable<TaskBaseline>
iterator
in interface Collection<TaskBaseline>
iterator
in interface List<TaskBaseline>
iterator
in class AbstractList<TaskBaseline>
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
- The item to remove.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.public final TaskBaseline get(int index)
get
in interface List<TaskBaseline>
get
in class AbstractList<TaskBaseline>
index
- public 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 void sort(Comparator<? super T> c)
c
- Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.