|
@@ -129,7 +129,7 @@ public class JHashMap<K, V> extends HashMap<K, V> implements JMap<K, V>, Seriali
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public List<JMap<String, Object>> getList(K key) {
|
|
|
|
|
|
+ public List<JMap<String, Object>> getListMap(K key) {
|
|
Object value = this.get(key);
|
|
Object value = this.get(key);
|
|
if (value == null) {
|
|
if (value == null) {
|
|
return null;
|
|
return null;
|
|
@@ -143,6 +143,15 @@ public class JHashMap<K, V> extends HashMap<K, V> implements JMap<K, V>, Seriali
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public List<V> getList(K key) {
|
|
|
|
+ V value = this.get(key);
|
|
|
|
+ if (value == null) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+ return (List<V>) value;
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 将对象List转为MapList
|
|
* 将对象List转为MapList
|
|
*
|
|
*
|