public PropertyEvent getLastEvent(Object obj, Property prop) { if (prop.isCollection()) { LinkedList lst = (LinkedList) m_collectionEvents.get(getKey(obj, prop)); if (lst == null) { return null; } return (PropertyEvent) lst.getLast(); } return (PropertyEvent) m_setEvents.get(getKey(obj, prop));
public ObjectEvent getLastEvent(Object obj) { if (obj == null) { return null; } return (ObjectEvent) m_objectEvents.get(getKey(obj));
    public PropertyEvent getLastEvent(Object obj, Property prop) {        if (prop.isCollection()) {            LinkedList lst =                (LinkedList) m_collectionEvents.get(getKey(obj, prop));            if (lst == null) { return null; }            return (PropertyEvent) lst.getLast();        }        return (PropertyEvent) m_setEvents.get(getKey(obj, prop));    }