|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.mock.EventWrapper
public class EventWrapper
Need this class because Event doesn't properly implement hashCode
| Constructor Summary | |
|---|---|
EventWrapper(Event event)
Constructor for EventWrapper. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Event |
getEvent()
getEvent |
int |
hashCode()
hashCode |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventWrapper(Event event)
Constructor for EventWrapper.
event - a Event object.| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic Event getEvent()
getEvent
Event object.public int hashCode()
hashCode
hashCode in class Objectpublic String toString()
toString
toString in class ObjectString object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||