commit | 748c33a5495ec1721645ca3c1023d39808cb5d13 | [log] [tgz] |
---|---|---|
author | jcompagne <jcompagne> | Mon Feb 02 17:05:22 2009 +0000 |
committer | jcompagne <jcompagne> | Mon Feb 02 17:05:22 2009 +0000 |
tree | 405c8449910f3d388d63bb7cd39061c3e90e4231 | |
parent | a5600412667e7ef1288ae830c2815fa2c18336c3 [diff] |
work around around a java bug! TreeMap.removeAll(collection) behaves differently then Iterator it = collection.iterator(); while (it.hasNext()) treeMap.remove(it.next()); and that also depends on the size of the collection! so treeMap.removeAll(collection) with a collection size < treeMap behaves differently then if it is > !