JavaCompilerCore/examples/luar/WCTest11.jav

47 lines
2.4 KiB
Plaintext
Raw Normal View History

Menge<b> Menge<a>
/* Menge<b> Menge<? extends Menge<a>> */
2013-10-18 11:33:46 +00:00
/* Erg.:
[[(TPH a = Menge< Integer >), (TPH b = Matrix)],
[(TPH a = Menge< Integer >), (TPH b = ? extends Matrix)],
[(TPH a = ? extends Menge< Integer >), (TPH b = Matrix)],
[(TPH a = ? extends Menge< Integer >), (TPH b = ? extends Matrix)],
[(TPH a = ? extends Menge< ? extends Integer >), (TPH b = Matrix)],
[(TPH a = ? extends Menge< ? extends Integer >), (TPH b = ? extends Matrix)],
[(TPH a = ? extends Menge< ? extends Number >), (TPH b = Matrix)],
[(TPH a = ? extends Menge< ? extends Number >), (TPH b = ? extends Matrix)],
[(TPH a = ? extends Menge< ? extends Object >), (TPH b = Matrix)],
[(TPH a = ? extends Menge< ? extends Object >), (TPH b = ? extends Matrix)],
[(TPH a = ? extends Menge< ? super Integer >), (TPH b = Matrix)],
[(TPH a = ? extends Menge< ? super Integer >), (TPH b = ? extends Matrix)],
2013-10-18 11:33:46 +00:00
[(TPH a = ? extends Object), (TPH b = Matrix)],
[(TPH a = ? extends Object), (TPH b = ? extends Matrix)],
[(TPH a = ? super Menge< Integer >), (TPH b = Matrix)],
[(TPH a = ? super Menge< Integer >), (TPH b = ? extends Matrix)],
[(TPH a = Menge< Integer >), (TPH b = ExtMatrix)],
[(TPH a = Menge< Integer >), (TPH b = ? extends ExtMatrix)],
[(TPH a = ? extends Menge< Integer >), (TPH b = ExtMatrix)],
[(TPH a = ? extends Menge< Integer >), (TPH b = ? extends ExtMatrix)],
[(TPH a = ? extends Menge< ? extends Integer >), (TPH b = ExtMatrix)],
[(TPH a = ? extends Menge< ? extends Integer >), (TPH b = ? extends ExtMatrix)],
[(TPH a = ? extends Menge< ? extends Number >), (TPH b = ExtMatrix)],
[(TPH a = ? extends Menge< ? extends Number >), (TPH b = ? extends ExtMatrix)],
[(TPH a = ? extends Menge< ? extends Object >), (TPH b = ExtMatrix)],
[(TPH a = ? extends Menge< ? extends Object >), (TPH b = ? extends ExtMatrix)],
[(TPH a = ? extends Menge< ? super Integer >), (TPH b = ExtMatrix)],
[(TPH a = ? extends Menge< ? super Integer >), (TPH b = ? extends ExtMatrix)],
2013-10-18 11:33:46 +00:00
[(TPH a = ? extends Object), (TPH b = ExtMatrix)],
[(TPH a = ? extends Object), (TPH b = ? extends ExtMatrix)],
[(TPH a = ? super Menge< Integer >), (TPH b = ExtMatrix)],
[(TPH a = ? super Menge< Integer >), (TPH b = ? extends ExtMatrix)],
[(TPH b = Menge< TPH a >)],
[(TPH b = ? extends Menge< TPH a >)]]
2013-10-18 11:33:46 +00:00
*/
class Number {}
class Integer extends Number {}
class Menge<a> { }
2013-10-18 11:33:46 +00:00
class Matrix extends Menge<Menge<Integer>> { }
2013-10-18 11:33:46 +00:00
class ExtMatrix extends Matrix { }