Class Item


  • public final class Item
    extends Object
    • Constructor Detail

      • Item

        public Item​(int id,
                    int quantity)
    • Method Detail

      • getId

        public int getId()
      • getQuantity

        public int getQuantity()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object