Welcome to mirror list, hosted at ThFree Co, Russian Federation.

java-method-return-generic-wildcard « t4018 « t - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 96e9e5f2c14e35ad9ca32ce2495debd2a875ebe3 (plain)
1
2
3
4
5
6
7
8
9
class MyExample {
    public List<? extends Comparable> foo(String[] RIGHT) {
        someMethodCall();
        someOtherMethod()
            .doThat();
        // Whatever...
        return Arrays.asList("ChangeMe");
    }
}