- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 122 for lastIndexOf (0.08 sec)
-
android/guava/src/com/google/common/primitives/Shorts.java
* such index exists. */ public static int lastIndexOf(short[] array, short target) { return lastIndexOf(array, target, 0, array.length); } // TODO(kevinb): consider making this public private static int lastIndexOf(short[] array, short target, int start, int end) { for (int i = end - 1; i >= start; i--) { if (array[i] == target) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 25.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* such index exists. */ public static int lastIndexOf(short[] array, short target) { return lastIndexOf(array, target, 0, array.length); } // TODO(kevinb): consider making this public private static int lastIndexOf(short[] array, short target, int start, int end) { for (int i = end - 1; i >= start; i--) { if (array[i] == target) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 25.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
} @Override public Iterator<Map<String, Object>> iterator() { return parent.iterator(); } @Override public int lastIndexOf(final Object o) { return parent.lastIndexOf(o); } @Override public ListIterator<Map<String, Object>> listIterator() { return parent.listIterator(); } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
} public void testLastIndexOf() { assertThat(Floats.lastIndexOf(EMPTY, (float) 1)).isEqualTo(-1); assertThat(Floats.lastIndexOf(ARRAY1, (float) 2)).isEqualTo(-1); assertThat(Floats.lastIndexOf(ARRAY234, (float) 1)).isEqualTo(-1); assertThat(Floats.lastIndexOf(new float[] {(float) -1}, (float) -1)).isEqualTo(0); assertThat(Floats.lastIndexOf(ARRAY234, (float) 2)).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
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) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
} public void testLastIndexOf() { assertThat(Floats.lastIndexOf(EMPTY, (float) 1)).isEqualTo(-1); assertThat(Floats.lastIndexOf(ARRAY1, (float) 2)).isEqualTo(-1); assertThat(Floats.lastIndexOf(ARRAY234, (float) 1)).isEqualTo(-1); assertThat(Floats.lastIndexOf(new float[] {(float) -1}, (float) -1)).isEqualTo(0); assertThat(Floats.lastIndexOf(ARRAY234, (float) 2)).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
if (line.startsWith("\"version\"")) { version = line.substring(line.indexOf("\"", 11) + 1, line.lastIndexOf("\"")) } if (line.startsWith("\"buildTime\"")) { var date = line.substring(line.indexOf("\"", 12) + 1, line.lastIndexOf("\"")) date = date.substring(0, 4) + "-" + date.substring(4, 6) + "-" + date.substring(6, 8)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} return -1; } /** * Returns the largest index for which {@link #get} returns {@code target}, or {@code -1} if no * such index exists. Equivalent to {@code asList().lastIndexOf(target)}. */ public int lastIndexOf(long target) { for (int i = end - 1; i >= start; i--) { if (array[i] == target) { return i - start; } } return -1; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
} return -1; } /** * Returns the largest index for which {@link #get} returns {@code target}, or {@code -1} if no * such index exists. Equivalent to {@code asList().lastIndexOf(target)}. */ public int lastIndexOf(int target) { for (int i = end - 1; i >= start; i--) { if (array[i] == target) { return i - start; } } return -1; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
assertThat(iia.lastIndexOf(1)).isEqualTo(1); assertThat(iia.lastIndexOf(8)).isEqualTo(5); assertThat(iia.lastIndexOf(4)).isEqualTo(-1); assertThat(ImmutableIntArray.of(13).lastIndexOf(13)).isEqualTo(0); assertThat(ImmutableIntArray.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 - 20.1K bytes - Viewed (0)