Stream.findFirst different than Optional.of?

后端 未结 5 829
无人共我
无人共我 2021-02-18 19:28

Let\'s say I have two classes and two methods:

class Scratch {
    private class A{}
    private class B extends A{}

    public Optional getItems(List&         


        
5条回答
提交回复
热议问题