Changeset 6137 in josm
- Timestamp:
- 2013-08-11T19:34:02+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Storage.java
r6084 r6137 112 112 private boolean arrayCopyNecessary; 113 113 114 /** 115 * Constructs a new {@code Storage} with default capacity (16). 116 */ 114 117 public Storage() { 115 118 this(Storage.<T>defaultHash(), DEFAULT_CAPACITY, false); 116 119 } 117 120 121 /** 122 * Constructs a new {@code Storage} with given capacity. 123 */ 118 124 public Storage(int capacity) { 119 125 this(Storage.<T>defaultHash(), capacity, false); … … 440 446 public void putAll(Map<? extends K, ? extends T> m) { 441 447 if (m instanceof Storage.FMap) { 442 Storage.this.addAll( ((Storage.FMap)m).values());448 Storage.this.addAll(m.values()); 443 449 } else { 444 450 for (Map.Entry<? extends K, ? extends T> e : m.entrySet()) {
Note:
See TracChangeset
for help on using the changeset viewer.