- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testIndexOf (0.11 sec)
-
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
list.add(1, "4"); assertThat(list.get(1), is("4")); assertThat(list.get(2), is("2")); } /** * @throws Exception */ @Test public void testIndexOf() throws Exception { list.addLast(null); list.addLast("1"); list.addLast("2"); list.addLast("3"); assertThat(list.indexOf(null), is(0));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertThat(newArray.length, is(2)); assertThat(newArray[0], is(1)); assertThat(newArray[1], is(2)); } /** * @throws Exception */ @Test public void testIndexOf() throws Exception { final String[] array = new String[] { "111", "222", "333", "222" }; assertThat(ArrayUtil.indexOf(array, "222"), is(1)); assertThat(ArrayUtil.indexOf(array, "222", 2), is(3));
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/test/java/org/codelibs/core/collection/ArrayMapTest.java
map.put("3", null); assertThat(map.containsKey("3"), is(true)); } /** * @throws Exception */ @Test public void testIndexOf() throws Exception { assertThat(map.indexOf("test"), is(1)); assertThat(map.indexOf(null), is(0)); assertThat(map.indexOf("test3"), is(-1)); } /** * @throws Exception
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0)