public class AssignmentBaselineCollection extends AbstractList<T>
Represents a collection of AssignmentBaseline
objects.
Modifier and Type | Method and Description |
---|---|
AssignmentBaseline |
get(int index)
(@inheritDoc}
|
ResourceAssignment |
getParentAssignment()
Parent
ResourceAssignment for this collection. |
AssignmentBaseline |
remove(int index)
Removes the element at the specified position in this list.
|
boolean |
remove(Object baseline)
Removes baseline from this collection.
|
int |
size()
Returns the number of elements in this collection.
|
void |
sort(Comparator<? super T> c) |
List<AssignmentBaseline> |
toList()
Converts the AssignmentBaselineCollection object to a list of
AssignmentBaseline 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, spliterator, toArray, toArray
parallelStream, removeIf, stream
public AssignmentBaseline get(int index)
get
in interface List<AssignmentBaseline>
get
in class AbstractList<AssignmentBaseline>
index
- public ResourceAssignment getParentAssignment()
Parent ResourceAssignment
for this collection.
Read only ResourceAssignment
instance.
public boolean remove(Object baseline)
remove
in interface Collection<AssignmentBaseline>
remove
in interface List<AssignmentBaseline>
remove
in class AbstractCollection<AssignmentBaseline>
baseline
- AssignmentBaseline
instance to remove.AssignmentBaseline
instance has been removed successfully; otherwise, falsepublic AssignmentBaseline remove(int index)
remove
in interface List<AssignmentBaseline>
remove
in class AbstractList<AssignmentBaseline>
index
- public int size()
size
in interface Collection<AssignmentBaseline>
size
in interface List<AssignmentBaseline>
size
in class AbstractCollection<AssignmentBaseline>
public List<AssignmentBaseline> toList()
Converts the AssignmentBaselineCollection object to a list of AssignmentBaseline
objects.
public void sort(Comparator<? super T> c)
c
-