@RestrictTo(RestrictTo.Scope.LIBRARY)
public Map<String, ?> toMap(int depth) {
if (depth <= 0) {
return null;
}
Map<String, Object> map = new HashMap<>(this.map);
for (String key : map.keySet()) {
Object object = map.get(key);
if (object instanceof PersistableBundle) {
map.put(key, ((PersistableBundle) object).toMap(depth - 1));
}
}
return map;
}
PersistableBundle.java 文件源码
java
阅读 43
收藏 0
点赞 0
评论 0
项目:JobSchedulerCompat
作者:
评论列表
文章目录