|
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.todo.ToDoList
This class represents a list of to dos. This list
provides convenience methods to create sub-lists of
to dos based on specified dates. This list is
unmodifiable therefore attempts to modify the list
will throw an UnsupportedOperationException.
ToDos.todos(),
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). |
ToDoList |
subList(java.util.Date givenDate)
Returns a to do list of the portion of this list due on the given date. |
ToDoList |
subList(java.util.Date givenDate,
java.util.Calendar cal)
Returns a to do list of the portion of this list due on the given date. |
ToDoList |
subList(java.util.Date startDate,
java.util.Date endDate)
Returns a to do 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 ToDoList subList(java.util.Date givenDate)
givenDate - the given dateToDo objects
public ToDoList subList(java.util.Date givenDate,
java.util.Calendar cal)
givenDate - the given datecal - the calendarToDo objects
public ToDoList subList(java.util.Date startDate,
java.util.Date endDate)
startDate - the start date (may not be null)endDate - the end date (may not be null)ToDo objects with the date range
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||