Update comments on cow mappings (problematic: equals/hashCode).

This commit is contained in:
asofold 2014-10-31 11:57:50 +01:00
parent 95763d35c8
commit 1d78b4eac0

View File

@ -9,7 +9,9 @@ import java.util.Set;
/**
* More cows, more fun: Copy on write for a LinkedHashMap (optimized for fast reading from any thread).
* <hr>
* This does not allow access-ordered maps, use Collections.synchronizedMap(LinkedHashMap...) for that case.
* Shortcomings:<br>
* <li>This does not allow access-ordered maps, use Collections.synchronizedMap(LinkedHashMap...) for that case.</li>
* <li>Behavior of equals and hashCode could be problematic, because they have not been overridden, but in fact should be processed on copies of this map.</li>
* @author dev1mc
*
*/