@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Transistor that = (Transistor) o;

        if (baseCurrent != that.baseCurrent) return false;
        if (col_emitCurrent != that.col_emitCurrent) return false;
        if (gainCoefficient != that.gainCoefficient) return false;
        if (key != that.key) return false;

        return true;
    }