|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.AbstractSequentialList
|
+--java.util.LinkedList
|
+--com.compoze.calendar.AppointmentList
This class represents a list of appointments. This list
provides convenience methods to create sub-lists of
appointments based on specified dates. This list is
unmodifiable therefore attempts to modify the list
will throw an UnsupportedOperationException.
Appointments.appointments(),
subList(java.util.Date,java.util.Calendar), Serialized Form| Fields inherited from class java.util.AbstractList |
modCount |
| Method Summary | |
void |
add(int index,
java.lang.Object element)
Inserts the specified element at the specified position in this list (optional operation). |
boolean |
add(java.lang.Object element)
Inserts the specified element to the end of this list (optional operation). |
void |
clear()
Removes all of the elements from this list (optional operation). |
java.util.List |
subList(java.util.Date givenDate)
Returns an unmodifiable appointment list of the portion of this list occuring on the given date. |
java.util.List |
subList(java.util.Date givenDate,
java.util.Calendar cal)
Returns an unmodifiable appointment list of the portion of this list occuring on the given date. |
java.util.List |
subList(java.util.Date startDate,
java.util.Date endDate)
Returns an unmodifiable appointment list of the portion of this list between the specified start and end date range. |
| Methods inherited from class java.util.LinkedList |
addAll, addAll, addFirst, addLast, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
| Methods inherited from class java.util.AbstractSequentialList |
iterator |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, listIterator, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, isEmpty, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
| Method Detail |
public void add(int index,
java.lang.Object element)
add in class java.util.LinkedListindex - index at which the specified element is to be insertedelement - element to be insertedjava.lang.UnsupportedOperationException - add is not supportedpublic boolean add(java.lang.Object element)
add in class java.util.LinkedListelement - element to be insertedjava.lang.UnsupportedOperationException - add is not supportedpublic void clear()
clear in class java.util.LinkedListjava.lang.UnsupportedOperationException - clear is not supportedpublic java.util.List subList(java.util.Date givenDate)
givenDate - the given dateAppointment objects
public java.util.List subList(java.util.Date givenDate,
java.util.Calendar cal)
givenDate - the given datecal - the calendarAppointment objects
public java.util.List subList(java.util.Date startDate,
java.util.Date endDate)
startDate - the start dateendDate - the end dateAppointment objects with the date rangeDateRange
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||