Update of /cvsroot/fb-contrib/fb-contrib/samples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3152/samples
Added Files:
COM_Sample.java
Log Message:
initial check in - new COM detector
--- NEW FILE: COM_Sample.java ---
import java.util.HashSet;
import java.util.Set;
public class COM_Sample
{
public void test1()
{
}
public String test2(int i)
{
return String.valueOf(i);
}
public Set<String> test3(String a, String b, String c)
{
Set<String> ss = new HashSet<String>();
ss.add(a);
ss.add(b);
ss.add(c);
return ss;
}
public static class Derived extends COM_Sample
{
public void test1()
{
}
public Set<String> test3(String a, String b, String c)
{
Set<String> ss = new HashSet<String>();
ss.add(a);
ss.add(b);
ss.add(c);
return ss;
}
public String test2(int i)
{
return String.valueOf(i);
}
}
}
|