Java 8: Generic type inference improvements

前端 未结 3 1412
夕颜
夕颜 2021-02-14 23:40

With JEP 101: Generalized Target-Type Inference, this

final List bools = Arrays.asList(true,false, true);
final List string = boo         


        
3条回答
  •  抹茶落季
    2021-02-15 00:13

    Seems like this issue is fixed now with the latest JDT snapshot implementing the desired proposal.

提交回复
热议问题