return (Malfunction[]) (myMalfunctions.values()
return (myMalfunctions.values()
    public Malfunction[] getMalfunctions() {        Malfunction[] arrayMalfunctions = new Malfunction[myMalfunctions.size()];        return (Malfunction[]) (myMalfunctions.values()                .toArray(arrayMalfunctions));    }