Image

Imageg_al wrote in Imagejava_dev 🙂awake

HashMap

I've got a problem.
HashMap doesn't want to grow up more than 32000 elements.
I am adding rows from recordset to hashmap and arraylist. It's ok with arraylist but hashmap "put" method does nothing after hashmap size has became 32000.

java -version
java version "1.4.2.07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.07-050121-15:53)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.07-050121-17:30-PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)


UPD Thanks to all specially to </a></b></a>Imagebrindy
of course i tried to add object with existing key ..