Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for equalsIgnoreSequence (0.06 sec)

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

            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "1" }), is(true));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1", "2", "3" }, new Object[] { "2", "3", "1" }), is(true));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "2" }), is(not(true)));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] {}), is(not(true)));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * @param array2
         *            the second array
         * @return {@literal true} if the two arrays are equal, ignoring the order of elements
         */
        public static <T> boolean equalsIgnoreSequence(final T[] array1, final T[] array2) {
            if (array1 == null && array2 == null) {
                return true;
            } else if (array1 == null || array2 == null) {
                return false;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
Back to top