public class BaselineCollection extends AbstractList<Baseline>
Represents a collection of Baseline
objects.
Modifier and Type | Method and Description |
---|---|
Baseline |
get(int index)
Returns the baseline at the specified position.
|
Resource |
getParentResource()
Parent
Resource for this collection. |
Baseline |
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 BaselineCollection object.
|
List<Baseline> |
toList()
Converts the BaselineCollection object to a list of
Baseline 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 Baseline get(int index)
public Resource getParentResource()
Parent Resource
for this collection.
Read only Resource
instance.
public final boolean remove(Object item)
Removes baseline from this collection.
public Baseline remove(int index)
public final int size()
Gets the number of objects contained in this BaselineCollection object.
size
in interface Collection<Baseline>
size
in interface List<Baseline>
size
in class AbstractCollection<Baseline>