Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemoveNothing (0.07 sec)

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

            assertThat(newArray[0], is("111"));
            assertThat(newArray[1], is("222"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemoveNothing() throws Exception {
            final String[] array = new String[] { "111", "222", "333" };
            final String[] newArray = ArrayUtil.remove(array, "444");
            assertThat(newArray, is(sameInstance(array)));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top