class AixSensors extends AbstractSensors {

    private final Supplier<List<String>> lscfg;

    AixSensors(Supplier<List<String>> lscfg) {
        this.lscfg = lscfg;
    }

    @Override
    public double queryCpuTemperature() {
        // Not available in general without specialized software
        return 0d;
    }

    @Override
    public int[] queryFanSpeeds() {
        // Speeds are not available in general without specialized software
        // We can count fans from lscfg and return an appropriate sized array of zeroes.
        int fans = 0;
        for (String s : lscfg.get()) {
            if (s.contains("Air Mover")) {
                fans++;
            }
        }
        return new int[fans];
    }

    @Override
    public double queryCpuVoltage() {<FILL_FUNCTION_BODY>}
}

        // Not available in general without specialized software
        return 0d;
    
<methods>public non-sealed void <init>() ,public double getCpuTemperature() ,public double getCpuVoltage() ,public int[] getFanSpeeds() ,public java.lang.String toString() <variables>private final Supplier<java.lang.Double> cpuTemperature,private final Supplier<java.lang.Double> cpuVoltage,private final Supplier<int[]> fanSpeeds