public class WorkWeekCollection extends ReadOnlyCollectionBase<WorkWeek>
Represents a collection of WorkWeek
objects.
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
WorkWeek element)
Inserts the specified element at the specified position in this list.
|
boolean |
add(WorkWeek workWeek)
Adds WorkWeek instance to this collection object.
|
Calendar |
getParentCalendar()
Returns Parent Calendar
|
void |
sort(Comparator<? super T> c) |
get, set_Item, size, toList
addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public boolean add(WorkWeek workWeek)
Adds WorkWeek instance to this collection object.
add
in interface Collection<WorkWeek>
add
in interface List<WorkWeek>
add
in class AbstractList<WorkWeek>
workWeek
- WorkWeek
instance to add.public void add(int index, WorkWeek element)
public Calendar getParentCalendar()
Returns Parent Calendar
Calendar
class which is a parent calendar of this work week collection.public void sort(Comparator<? super T> c)
c
-