|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CSDlistInterface
Interface CSDlistInterface defines required methods implemented in list classes for the Composite Samples Database (CSD).
Note: there are also derived class specific methods: [TODO] public boolean add(Object o); - add object to the list public boolean remove(Object o); - remove object from the list. public boolean getList(Object o); - get list of objects public Object copy(Object o); - copy object data from the object [CHECK] but not the name or id #.
This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The Open2Dprot Mozilla and Legal files are available on http://Open2Dprot.sourceforge.net/.
Method Summary | |
---|---|
void |
clear()
clear() - clear object list |
void |
init(int size)
init() - initialize object list to specified size if > 0. |
boolean |
regrow(int newSize)
regrow() - increase the size of the list |
boolean |
rightSize()
rightSize() - right-size the size of the list to the size actually used. |
java.lang.String |
toString()
toString() - print features of the list. |
Method Detail |
---|
void clear()
void init(int size)
size
- to initialize size of the maximum listboolean regrow(int newSize)
newSize
- is new size of the list
boolean rightSize()
java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |