Get count of items in ArrayList based on property on type

后端 未结 0 1707
轮回少年
轮回少年 2021-02-06 12:40

I\'m trying to get a count of how many Items are of itemTypeId 1

Item

public class Item {
  private int itemTypeId;

  public int getItemT         


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