Warning: when this method is used, the resulting map will use identity ( {@code ==}) comparison to determine equality of keys, which is a technical violation of the {@link Map}specification, and may not be what you expect. @throws IllegalStateException if the key strength was already set @see WeakReference
|
|