import java.util.* ;
class C1 {}
interface I1 {}
interface I2 {}
class noBounds { }
class singleBound { }
/* There seems to be a bug in GJ compiler
not recognizing implments clause...
class multipleBounds{
public int foo( A obj )
{
return obj.methodA() ;
}
}
*/
class Cell {
A value ;
Cell ( A v ) {
value = v ;
}
A get() { return value ; }
void set( A v ) {
value = v ;
}
}
// Run Some Misc. Test Cases
class GenericJava
{
public static void main( String[] args )
{
// all parameterized types share same run-time class
Vector