01: package test;
02:
03: import java.text.Collator;
04: import java.util.Iterator;
05: import java.util.Locale;
06:
07: public class WildcardBoundIsClassUse {
08:
09: public Iterable<? extends Iterator> test1() {
10: return null;
11: }
12:
13: public Iterable<Locale> test2() {
14: return null;
15: }
16:
17: public Iterable<? super Collator> test3() {
18: return null;
19: }
20:
21: }
|