Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testContainsKey (0.19 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.containsValue("test2"), is(true));
            assertThat(map.containsValue("test3"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsKey() throws Exception {
            assertThat(map.containsKey("2"), is(true));
            assertThat(map.containsKey("3"), is(not(true)));
            map.put("3", null);
            assertThat(map.containsKey("3"), is(true));
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top