如何进行double的null判断呢
double avg = avg.getValue() // 此时不会报错 // 通过如下进行判断 if (Double.isNaN(avg)){ throw new RuntimeException("get double is null") }