|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NoteContainer
is used as a container,
to save the notes using a Storage
object.
It is not derived from the Java Collections API, because
it is important, that this container contains only
objects of type Note
. It is a kind of typed
Collection.
There is no guarantee, that the order of the notes remains constant over time.
Method Summary | |
void |
addNote(Note note)
Adds a note to the container. |
void |
clear()
Removes all notes from the container. |
NoteIterator |
getNoteIterator()
Returns an iterator, that returns all notes. |
void |
remove(Note note)
Removes the specific note from the container. |
Method Detail |
public void addNote(Note note)
note
- the note that is newly added to the container.public void clear()
public NoteIterator getNoteIterator()
public void remove(Note note)
note
- the note that will be removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |