|
|
@@ -38,7 +38,7 @@ public class PrototypeMap extends AMap<Object, Object> implements Map<Object, Ob
|
|
|
* Creates new map without prototype
|
|
|
*/
|
|
|
public PrototypeMap() {
|
|
|
- this(null, new OpenMap<>());
|
|
|
+ this(null, new HashMap<>());
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -47,7 +47,7 @@ public class PrototypeMap extends AMap<Object, Object> implements Map<Object, Ob
|
|
|
* @param parent parent
|
|
|
*/
|
|
|
public PrototypeMap(PrototypeMap parent) {
|
|
|
- this(parent, new OpenMap<>());
|
|
|
+ this(parent, new HashMap<>());
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -56,7 +56,7 @@ public class PrototypeMap extends AMap<Object, Object> implements Map<Object, Ob
|
|
|
* @param content content
|
|
|
*/
|
|
|
public PrototypeMap(Map<Object, ?> content) {
|
|
|
- this(null, new OpenMap<>(content));
|
|
|
+ this(null, new HashMap<>(content));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -67,7 +67,7 @@ public class PrototypeMap extends AMap<Object, Object> implements Map<Object, Ob
|
|
|
*/
|
|
|
public PrototypeMap(PrototypeMap parent, Map<Object, ?> content) {
|
|
|
this.parent = parent;
|
|
|
- this.declared = new OpenMap<>(content);
|
|
|
+ this.declared = new HashMap<>(content);
|
|
|
}
|
|
|
|
|
|
private PrototypeMap(boolean empty) {
|
|
|
@@ -433,6 +433,7 @@ public class PrototypeMap extends AMap<Object, Object> implements Map<Object, Ob
|
|
|
|
|
|
@Override
|
|
|
public Iterator<Map.Entry<Object, Object>> iterator() {
|
|
|
+ // @todo #82 fix bug inside "AOpenMap.PEntry" and then replace HashMap by OpenMap
|
|
|
return new RemoveIterator<>(aggregate().iterator(), this::remove);
|
|
|
}
|
|
|
|