JavaPatternMatching/examples/scju/ClassGenerics.jav

12 lines
305 B
Plaintext
Raw Normal View History

import de.dhbwstuttgart.typeinference.Menge;
2013-10-18 11:33:46 +00:00
import java.lang.Comparable;
public class ClassGenerics<typ1 extends Menge & Comparable, typ2> extends Menge<String> implements Comparable<String>{
2013-10-18 11:33:46 +00:00
public typ1 variable1;
protected typ2 variable2;
public Integer compareTo(String s) {
return null;
}
}