Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jmmo.component8.event;
 
User: Tomas Date: 31.05.13 Time: 20:54
 
public abstract class InterfaceAvailabilityEvent extends ContainerEvent {
    private final Class<?> interfaceClass;
    protected InterfaceAvailabilityEvent(ComponentsContainer containerClass<?> interfaceClass) {
        super(container);
        this. = interfaceClass;
    }
    public Class<?> getInterfaceClass() {
        return ;
    }
    @Override
    public boolean equals(Object o) {
        if (this == oreturn true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        if (!.equals(that.interfaceClass)) return false;
        return true;
    }
    @Override
    public int hashCode() {
        int result = super.hashCode();
        result = 31 * result + .hashCode();
        return result;
    }
    @Override
    public String toString() {
        return getClass().getSimpleName() + "{" +
                "source=" + getSource() +
                ", interfaceClass=" +  +
                '}';
    }
New to GrepCode? Check out our FAQ X