Aggregate objects by summing a filed using a limit value with Java 8 stream

前端 未结 0 2027
萌比男神i
萌比男神i 2020-12-31 20:02

Given a list of the following:

public interface Node{
    int getCount();
    String getName();
}

and a limit: int limit = 10

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