- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for lastIndexOf (0.07 sec)
-
guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(Bytes.lastIndexOf(EMPTY, (byte) 1)).isEqualTo(-1); assertThat(Bytes.lastIndexOf(ARRAY1, (byte) 2)).isEqualTo(-1); assertThat(Bytes.lastIndexOf(ARRAY234, (byte) 1)).isEqualTo(-1); assertThat(Bytes.lastIndexOf(new byte[] {(byte) -1}, (byte) -1)).isEqualTo(0); assertThat(Bytes.lastIndexOf(ARRAY234, (byte) 2)).isEqualTo(0); assertThat(Bytes.lastIndexOf(ARRAY234, (byte) 3)).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(Bytes.lastIndexOf(EMPTY, (byte) 1)).isEqualTo(-1); assertThat(Bytes.lastIndexOf(ARRAY1, (byte) 2)).isEqualTo(-1); assertThat(Bytes.lastIndexOf(ARRAY234, (byte) 1)).isEqualTo(-1); assertThat(Bytes.lastIndexOf(new byte[] {(byte) -1}, (byte) -1)).isEqualTo(0); assertThat(Bytes.lastIndexOf(ARRAY234, (byte) 2)).isEqualTo(0); assertThat(Bytes.lastIndexOf(ARRAY234, (byte) 3)).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedListsTest.java
if (list.contains(key)) { assertEquals(list.lastIndexOf(key), answer); return; } break; case ANY_PRESENT: if (list.contains(key)) { assertEquals(key, list.get(answer)); return; } break; case FIRST_AFTER: if (list.contains(key)) { assertEquals(list.lastIndexOf(key) + 1, answer); return; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(iia.lastIndexOf(1)).isEqualTo(1); assertThat(iia.lastIndexOf(8)).isEqualTo(5); assertThat(iia.lastIndexOf(4)).isEqualTo(-1); assertThat(ImmutableDoubleArray.of(13).lastIndexOf(13)).isEqualTo(0); assertThat(ImmutableDoubleArray.of().lastIndexOf(21)).isEqualTo(-1); assertThat(iia.subArray(1, 5).lastIndexOf(1)).isEqualTo(0); } public void testContains() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
} public void testLastIndexOf() { assertThat(Doubles.lastIndexOf(EMPTY, (double) 1)).isEqualTo(-1); assertThat(Doubles.lastIndexOf(ARRAY1, (double) 2)).isEqualTo(-1); assertThat(Doubles.lastIndexOf(ARRAY234, (double) 1)).isEqualTo(-1); assertThat(Doubles.lastIndexOf(new double[] {(double) -1}, (double) -1)).isEqualTo(0); assertThat(Doubles.lastIndexOf(ARRAY234, (double) 2)).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
assertThat(Chars.lastIndexOf(EMPTY, (char) 1)).isEqualTo(-1); assertThat(Chars.lastIndexOf(ARRAY1, (char) 2)).isEqualTo(-1); assertThat(Chars.lastIndexOf(ARRAY234, (char) 1)).isEqualTo(-1); assertThat(Chars.lastIndexOf(new char[] {(char) -1}, (char) -1)).isEqualTo(0); assertThat(Chars.lastIndexOf(ARRAY234, (char) 2)).isEqualTo(0); assertThat(Chars.lastIndexOf(ARRAY234, (char) 3)).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
idx = u.lastIndexOf('?'); if (idx >= 0) { u = u.substring(0, idx); } idx = u.lastIndexOf('#'); if (idx >= 0) { u = u.substring(0, idx); } } u = decodeUrlAsName(u, u.startsWith("file:")); idx = u.lastIndexOf('/'); if (idx >= 0) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
assertEquals(size - 1, copy.lastIndexOf(list.get(size - 1))); assertEquals(size - 2, head.lastIndexOf(list.get(size - 2))); assertEquals(size - 2, tail.lastIndexOf(list.get(size - 1))); // The following assumes all elements are distinct. assertEquals(0, copy.lastIndexOf(list.get(0))); assertEquals(0, head.lastIndexOf(list.get(0))); assertEquals(0, tail.lastIndexOf(list.get(1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
assertEquals(size - 1, copy.lastIndexOf(list.get(size - 1))); assertEquals(size - 2, head.lastIndexOf(list.get(size - 2))); assertEquals(size - 2, tail.lastIndexOf(list.get(size - 1))); // The following assumes all elements are distinct. assertEquals(0, copy.lastIndexOf(list.get(0))); assertEquals(0, head.lastIndexOf(list.get(0))); assertEquals(0, tail.lastIndexOf(list.get(1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
assertThat(Booleans.lastIndexOf(EMPTY, false)).isEqualTo(-1); assertThat(Booleans.lastIndexOf(ARRAY_FALSE, true)).isEqualTo(-1); assertThat(Booleans.lastIndexOf(ARRAY_FALSE_FALSE, true)).isEqualTo(-1); assertThat(Booleans.lastIndexOf(ARRAY_FALSE, false)).isEqualTo(0); assertThat(Booleans.lastIndexOf(ARRAY_FALSE_TRUE, false)).isEqualTo(0); assertThat(Booleans.lastIndexOf(ARRAY_FALSE_TRUE, true)).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 24.8K bytes - Viewed (0)