Commit 2bbf597
committed
Types: add wildcard method for multiple bounds
In some cases -- especially internally -- it is helpful to have a
wildcard type with multiple upper and/or lower bounds. While this is not
allowed by the Java compiler at the source level, there are scenarios
where it is helpful to have such types when reasoning about generics.1 parent 25a4e94 commit 2bbf597
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
678 | 692 | | |
679 | 693 | | |
680 | 694 | | |
| |||
0 commit comments