Class UpgradeEvent

    • Constructor Detail

      • UpgradeEvent

        public UpgradeEvent​(UpgradeEvent.Type type,
                            Upgrade state)
        Creates an event of a given type and for the specified state and the current time.
        Parameters:
        type - upgrade event type
        state - upgrade state
      • UpgradeEvent

        public UpgradeEvent​(UpgradeEvent.Type type,
                            Upgrade state,
                            long time)
        Creates an event of a given type and for the specified state and time.
        Parameters:
        type - upgrade event type
        state - upgrade state
        time - occurrence time
    • Method Detail

      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object