for (Entry<String, Object> entry : permissions.entrySet()) {
String key = entry.getKey();
Object value = entry.getValue();
if (value instanceof String && StringUtils.equals("1", value.toString())) {
list.add(key);
}
}
标签:div obj string instance mis nbsp object util get
for (Entry<String, Object> entry : permissions.entrySet()) {
String key = entry.getKey();
Object value = entry.getValue();
if (value instanceof String && StringUtils.equals("1", value.toString())) {
list.add(key);
}
}
标签:div obj string instance mis nbsp object util get
原文地址:https://www.cnblogs.com/jack-zou/p/8508184.html