### Question:
HMapIIW extends HMapII implements Writable { @Override public int size() { if (!isDecoded()) { return keys.length; } return super.size(); } HMapIIW(); void readFields(DataInput in); void decode(); boolean isDecoded(); void write(DataOutput out); byte[] serialize(); static HMapIIW create(DataInput in); static HMapIIW create(byte[] bytes); static void setLazyDecodeFlag(boolean b); static boolean getLazyDecodeFlag(); int[] getKeys(); int[] getValues(); void lazyplus(HMapIIW m); @Override int size();  }### Answer:
@Test public void testBasic() throws IOException { HMapIIW m = new HMapIIW(); m.put(2, 5); m.put(1, 22); int value; assertEquals(m.size(), 2); value = m.get(2); assertEquals(5, value); value = m.remove(2); assertEquals(m.size(), 1); value = m.get(1); assertEquals(22, value); }