- changed title to TDecorators#wrap produces an inconsistent map
- edited description
TDecorators#wrap produces an inconsistent map
Issue #60
new
It seems that having 0
as default for noEntryKey
breaks the behaviour of the wrapper maps. Consider an example:
public class Example {
public static void main(final String[] args) {
final TIntObjectMap<String> m = new TIntObjectHashMap<>();
m.put(0, "foo");
System.out.println(TDecorators.wrap(m).containsKey(0)); // true
System.out.println(TDecorators.wrap(m).keySet()); // [null]
}
}
Comments (3)
-
reporter -
- changed milestone to 3.2
-
-
assigned issue to
-
assigned issue to
- Log in to comment