Code example for Set

Methods: equals

0
        } else if (action != other.action)
            return false; 
        if (keys == null) {
            if (other.keys != null)
                return false; 
        } else if (!keys.equals(other.keys))
            return false; 
        return true; 
    } 
     
    @Override 
    public String toString() {
        return ("StorageNotification[table=" + tableName + "; action=" +
                 action.toString() + "; keys=" + keys.toString() + "]");
    } 
}