I am programming in java. Say I have an custom object Item
class Item
{
Integer id;
BigDecimal itemNumber;
}
I have list of Items.
List<Item> items = new ArrayList<>();
Now, What is best way in java to know, list of Items contain some Items with same value for itemNumber.
Aucun commentaire:
Enregistrer un commentaire