/*
* Created on Feb 19, 2004
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package org.cookbook.ch05;
/**
* @author Steven Holzner
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class TestClass
{
public String get() {
return "Test String";
}
public boolean set(int index) {
if (index < 0) {
return false;
} else {
return true;
}
}
}
|