public class LUTEvent extends java.lang.Object implements CollapsibleEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
LUTEvent.LUTEventType |
| Constructor and Description |
|---|
LUTEvent(LUT lut,
int component,
LUTEvent.LUTEventType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
collapse(CollapsibleEvent event)
Collapse current object/event with specified one.
|
boolean |
equals(java.lang.Object obj)
Returns
true if the current event is equivalent to the specified one. |
int |
getComponent() |
LUT |
getLut() |
LUTEvent.LUTEventType |
getType() |
int |
hashCode()
Returns hash code for current event.
|
public LUTEvent(LUT lut, int component, LUTEvent.LUTEventType type)
lut - component - public int getComponent()
public LUTEvent.LUTEventType getType()
LUTEvent.LUTEventTypepublic boolean collapse(CollapsibleEvent event)
CollapsibleEventcollapse in interface CollapsibleEventfalse if collapse operation failed (object are not 'equals')public int hashCode()
CollapsibleEventObject.hashCode()
contract.hashCode in interface CollapsibleEventhashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
CollapsibleEventtrue if the current event is equivalent to the specified one.Object.equals(Object) method as we use an HashMap to store
these event
in the UpdateEventHandler class.equals in interface CollapsibleEventequals in class java.lang.Object