Class InventoryEvent
java.lang.Object
java.util.EventObject
org.rspeer.event.Event<Integer>
- All Implemented Interfaces:
Serializable
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInventoryEvent(int key, int index, org.rspeer.commons.IntPair current, org.rspeer.commons.IntPair next) Constructs a prototypical Event. -
Method Summary
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumedMethods inherited from class EventObject
toString
-
Constructor Details
-
InventoryEvent
public InventoryEvent(int key, int index, org.rspeer.commons.IntPair current, org.rspeer.commons.IntPair next) Constructs a prototypical Event.- Parameters:
key- The object on which the Event initially occurred.- Throws:
IllegalArgumentException- if source is null.
-
-
Method Details
-
getKey
public int getKey() -
getIndex
public int getIndex() -
getCurrent
public org.rspeer.commons.IntPair getCurrent() -
getNext
public org.rspeer.commons.IntPair getNext() -
getType
-