public class AssignmentBaselineCollection extends AbstractList<T>
Represents a collection of AssignmentBaseline
objects.
Modifier and Type | Method and Description |
---|---|
boolean |
add(AssignmentBaseline item)
This is the stub implementation of ICollection's Add method, that only throws NotSupportedException
|
void |
clear() |
boolean |
contains(Object item) |
void |
copyTo(AssignmentBaseline[] array,
int arrayIndex)
Copies the elements of this collection to the specified array, starting at the specified array index.
|
AssignmentBaseline |
get(int index)
(@inheritDoc}
|
ResourceAssignment |
getParentAssignment()
Gets the parent
ResourceAssignment for this collection. |
AssignmentBaseline |
remove(int index)
Removes the element at the specified position in this list.
|
boolean |
remove(Object item)
Removes baseline from this collection.
|
int |
size()
Gets the number of objects contained in this AssignmentBaselineCollection object.
|
void |
sort(Comparator<? super T> c) |
List<AssignmentBaseline> |
toList()
Converts the AssignmentBaselineCollection object to a list of
AssignmentBaseline objects. |
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, set, subList
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
addAll, containsAll, isEmpty, removeAll, replaceAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public final boolean add(AssignmentBaseline item)
This is the stub implementation of ICollection's Add method, that only throws NotSupportedException
add
in interface Collection<AssignmentBaseline>
add
in interface List<AssignmentBaseline>
add
in class AbstractList<AssignmentBaseline>
item
- The item to add.public final void clear()
clear
in interface Collection<AssignmentBaseline>
clear
in interface List<AssignmentBaseline>
clear
in class AbstractList<AssignmentBaseline>
public final boolean contains(Object item)
contains
in interface Collection<AssignmentBaseline>
contains
in interface List<AssignmentBaseline>
contains
in class AbstractCollection<AssignmentBaseline>
public final void copyTo(AssignmentBaseline[] array, int arrayIndex)
Copies the elements of this collection to the specified array, starting at the specified array index.
array
- the specified one-dimensional array to copy elements toarrayIndex
- the zero-based index of the specified array at which copying begins.public final ResourceAssignment getParentAssignment()
Gets the parent ResourceAssignment
for this collection.
ResourceAssignment
for this collection.public AssignmentBaseline get(int index)
get
in interface List<AssignmentBaseline>
get
in class AbstractList<AssignmentBaseline>
index
- public boolean remove(Object item)
Removes baseline from this collection.
remove
in interface Collection<AssignmentBaseline>
remove
in interface List<AssignmentBaseline>
remove
in class AbstractCollection<AssignmentBaseline>
item
- The item 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 final int size()
Gets the number of objects contained in this AssignmentBaselineCollection object.
size
in interface Collection<AssignmentBaseline>
size
in interface List<AssignmentBaseline>
size
in class AbstractCollection<AssignmentBaseline>
public final List<AssignmentBaseline> toList()
Converts the AssignmentBaselineCollection object to a list of AssignmentBaseline
objects.
AssignmentBaseline
objects.public void sort(Comparator<? super T> c)
c
-