@Override
    public int hashCode() {
        int hash = 7;
        hash = 43 * hash + Objects.hashCode(this.nazev);
        hash = 43 * hash + (int) (Double.doubleToLongBits(this.spotreba) ^ (Double.doubleToLongBits(this.spotreba) >>> 32));
        hash = 43 * hash + (int) (Double.doubleToLongBits(this.mnozstvi) ^ (Double.doubleToLongBits(this.mnozstvi) >>> 32));
        hash = 43 * hash + (int) (Double.doubleToLongBits(this.cena) ^ (Double.doubleToLongBits(this.cena) >>> 32));
        return hash;
    }