Class ComparisonTreeNodeEvent


  • public class ComparisonTreeNodeEvent
    extends Object
    A typed event that can happen with a comparison tree node.
    • Constructor Detail

      • ComparisonTreeNodeEvent

        public ComparisonTreeNodeEvent​(ComparisonTreeNodeEvent.EventType type,
                                       long nodeId)
        Constructs an event.
        Parameters:
        type - the event type, not null
        nodeId - the id of the node where the event has happened
    • Method Detail

      • getNodeId

        public long getNodeId()
        Returns the identifier of the node.
        Returns:
        the node id where the event has happened
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object