- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for equalsIgnoreSequence (0.11 sec)
-
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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
} if (obj == null || getClass() != obj.getClass()) { return false; } final SynonymItem other = (SynonymItem) obj; if (!ArrayUtil.equalsIgnoreSequence(inputs, other.inputs) || !ArrayUtil.equalsIgnoreSequence(outputs, other.outputs)) { return false; } return true; } @Override public String toString() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 6K bytes - Viewed (0) -
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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0)