8283848586878889909192
HMapIDW m1 = new HMapIDW(); m1.put(3, 5.0); m1.put(4, 22.0); byte[] bytes = m1.serialize(); HMapIDW m2 = HMapIDW.create(bytes); assertFalse(m2.isDecoded()); assertEquals(2, m2.size());
121122123124125126127128129130131
158159160161162163164165166167168
HMapIDW m1 = new HMapIDW(); m1.put(3, 5.0); m1.put(4, 22.0); byte[] bytes1 = m1.serialize(); HMapIDW m2 = new HMapIDW(); m2.put(3, 1.0); m2.put(4, 1.0); m2.put(5, 1.0);
165166167168169170171172173174175
HMapIDW m2 = new HMapIDW(); m2.put(3, 1.0); m2.put(4, 1.0); m2.put(5, 1.0); byte[] bytes2 = m2.serialize(); HMapIDW n1 = HMapIDW.create(bytes1); HMapIDW n2 = HMapIDW.create(bytes2); assertFalse(n1.isDecoded());
195196197198199200201202203204205
202203204205206207208209210211212
233234235236237238239240241242243
240241242243244245246247248249250
271272273274275276277278279280281
278279280281282283284285286287288