- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for equalsIgnoreSequence (0.06 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: Fri Sep 05 20:58:11 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K 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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0)