Merge branch 'master' of oss:/var/local/git/avian

This commit is contained in:
Joel Dice
2008-02-28 11:37:14 -07:00
5 changed files with 129 additions and 4 deletions

View File

@ -32,6 +32,13 @@ public class HashMap<K, V> implements Map<K, V> {
this(0);
}
public HashMap(Map<K, V> map) {
this(map.size());
for (Map.Entry<K, V> entry : map.entrySet()) {
put(entry.getKey(), entry.getValue());
}
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");