Class EquipmentChangeEvent


  • public final class EquipmentChangeEvent
    extends java.lang.Object
    Represents an event where a change occurs in the equipment, including the index, old and new IDs, as well as the old and new counts.
    • Constructor Detail

      • EquipmentChangeEvent

        public EquipmentChangeEvent​(int index,
                                    int oldID,
                                    int newID,
                                    int oldCount,
                                    int newCount)
    • Method Detail

      • getIndex

        public int getIndex()
      • getOldID

        public int getOldID()
      • getNewID

        public int getNewID()
      • getOldCount

        public int getOldCount()
      • getNewCount

        public int getNewCount()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object