Changeset 5369
- Timestamp:
- 2003-08-29T16:25:54+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/util/HashMap3D.java
r5305 r5369 42 42 private int capacity = 4; 43 43 44 private int size = 0; 45 44 46 private Object last_key_one = null; 45 47 private Object last_key_two = null; … … 60 62 /** Completely remove the contents of this HashMap and its child HashMaps. */ 61 63 public void clear() { 64 size = 0; 62 65 Iterator iterator = values().iterator(); 63 66 while(iterator.hasNext()) { … … 156 159 // Now add the value to this mapping. 157 160 map.put(key_two, value); 161 size++; 158 162 } 159 163 }
Note:
See TracChangeset
for help on using the changeset viewer.