|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ListSearchTest
Class ListSearchTest illustrates the use of the two methods defined in the companion ListSearch class.
Field Summary | |
protected static ListSearch |
search
Class to be tested |
Constructor Summary | |
ListSearchTest()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Allocate a ListSearch class and call its methods with some test data. |
protected static void |
testMethods(java.lang.Object[] list,
int size)
Test both methods by searching for each element in the list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static ListSearch search
Constructor Detail |
public ListSearchTest()
Method Detail |
public static void main(java.lang.String[] args)
protected static void testMethods(java.lang.Object[] list, int size)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |