Code example for Set

Methods: hashCode

0
    public int hashCode() { 
        final int prime = 7867;
        int result = 1;
        result = prime * result + tableName.hashCode();
        result = prime * result + action.hashCode();
        result = prime * result + keys.hashCode();
        return result;
    } 
     
    @Override 
    public boolean equals(Object obj) {
        if (this == obj)
            return true; 
        if (obj == null)
            return false; 
        if (!(obj instanceof StorageSourceNotification))
            return false; 
        StorageSourceNotification other = (StorageSourceNotification) obj;
        if (tableName == null) {
            if (other.tableName != null)
                return false;