instanceRecover()方法中: this.instanceState.putAll(gson.fromJson(data, new TypeToken<Map<Integer, Instance>>() { }.getType())); this.instanceState.forEach((key, value) -> { if (value.value != null) this.acceptedValue.put(key, value.value); }); 怎么导入到Idea中一直报错.
instanceRecover()方法中:
this.instanceState.putAll(gson.fromJson(data, new TypeToken<Map<Integer, Instance>>() {
}.getType()));
this.instanceState.forEach((key, value) -> {
if (value.value != null)
this.acceptedValue.put(key, value.value);
});
怎么导入到Idea中一直报错.