KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > groovy > DummyMethods


1 /**
2  * methods with specific parameters (e.g. primitives)
3  * for use with groovy tests
4  *
5  * @author <a HREF="mailto:jeremy.rayner@bigfoot.com">Jeremy Rayner</a>
6  * @version $Revision: 1.2 $
7  */

8 package groovy;
9
10 public class DummyMethods {
11     public String JavaDoc foo(String JavaDoc a, float b, float c) {
12         return "float args";
13     }
14     public String JavaDoc foo(String JavaDoc a, int b, int c) {
15         return "int args";
16     }
17 }
Popular Tags