Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 89 for IndexOutOfBoundsException (0.38 sec)

  1. android/guava/src/com/google/common/primitives/Booleans.java

       * exclusive. This is equivalent to {@code
       * Collections.reverse(Booleans.asList(array).subList(fromIndex, toIndex))}, but is likely to be
       * more efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
       * @since 23.1
       */
      public static void reverse(boolean[] array, int fromIndex, int toIndex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Booleans.java

       * exclusive. This is equivalent to {@code
       * Collections.reverse(Booleans.asList(array).subList(fromIndex, toIndex))}, but is likely to be
       * more efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
       * @since 23.1
       */
      public static void reverse(boolean[] array, int fromIndex, int toIndex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertCannotCancel(future);
      }
    
      private static void assertCannotSet(AbstractFuture<Integer> future) {
        assertThat(future.set(99)).isFalse();
        assertThat(future.setException(new IndexOutOfBoundsException())).isFalse();
        assertThat(future.setFuture(new AbstractFuture<Integer>() {})).isFalse();
        assertThat(future.setFuture(immediateFuture(99))).isFalse();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

                        while (!problems.isEmpty()) {
                            try {
                                return problems.remove(0) != null;
                            } catch (IndexOutOfBoundsException e) {
                                // empty, continue
                            }
                        }
                    }
                }
                return false;
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Chars.java

       * exclusive. This is equivalent to {@code
       * Collections.reverse(Chars.asList(array).subList(fromIndex, toIndex))}, but is likely to be more
       * efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
       * @since 23.1
       */
      public static void reverse(char[] array, int fromIndex, int toIndex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Shorts.java

       * exclusive. This is equivalent to {@code
       * Collections.reverse(Shorts.asList(array).subList(fromIndex, toIndex))}, but is likely to be
       * more efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
       * @since 23.1
       */
      public static void reverse(short[] array, int fromIndex, int toIndex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Shorts.java

       * exclusive. This is equivalent to {@code
       * Collections.reverse(Shorts.asList(array).subList(fromIndex, toIndex))}, but is likely to be
       * more efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
       * @since 23.1
       */
      public static void reverse(short[] array, int fromIndex, int toIndex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterators.java

       * position}th position.
       *
       * @param position position of the element to return
       * @return the element at the specified position in {@code iterator}
       * @throws IndexOutOfBoundsException if {@code position} is negative or greater than or equal to
       *     the number of elements remaining in {@code iterator}
       */
      @ParametricNullness
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        val url = base.newBuilder().setPathSegment(1, "/").build()
        assertThat(url.encodedPath).isEqualTo("/a/%2F/c")
      }
    
      @Test
      fun setPathSegmentOutOfBounds() {
        assertFailsWith<IndexOutOfBoundsException> {
          HttpUrl.Builder().setPathSegment(1, "a")
        }
      }
    
      @Test
      fun setEncodedPathSegmentEncodes() {
        val base = parse("http://host/a/b/c")
        assertThat(
          base
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testGet_outOfBounds() {
        assertThrows(
            IndexOutOfBoundsException.class,
            () -> FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(-1));
    
        assertThrows(
            IndexOutOfBoundsException.class,
            () -> FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(3));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top