Java - Return sum for specific attribute of List<Object>

后端 未结 0 895
迷失自我
迷失自我 2021-02-05 15:17

Let\'s assume I have the following class:

class Transaction{
  Float amount;
  String Id;
}

Now I\'d like to implement a function:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题