Class InventoryEvent

    • Constructor Detail

      • InventoryEvent

        public InventoryEvent​(int key,
                              int index,
                              IntPair current,
                              IntPair next)
        Constructs a prototypical Event.
        Parameters:
        key - The object on which the Event initially occurred.
        Throws:
        IllegalArgumentException - if source is null.
    • Method Detail

      • getKey

        public int getKey()
      • getIndex

        public int getIndex()
      • getCurrent

        public IntPair getCurrent()
      • getNext

        public IntPair getNext()