Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testIndexOf_character (0.09 sec)

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

            array[1] = null;
            assertThat(ArrayUtil.indexOf(array, null), is(1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIndexOf_character() throws Exception {
            final char[] array = new char[] { 'a', 'b', 'c' };
            assertThat(ArrayUtil.indexOf(array, 'a'), is(0));
            assertThat(ArrayUtil.indexOf(array, 'd'), is(-1));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top