Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 299 for throwing (0.07 sec)

  1. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>Warning:</b> avoid using a {@code predicate} that matches {@code null}. If {@code null}
       * is matched in this fluent iterable, a {@link NullPointerException} will be thrown.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}.
       */
      public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableBiMap.java

       * Entries appear in the result {@code ImmutableBiMap} in encounter order.
       *
       * <p>If the mapped keys or values contain duplicates (according to {@link
       * Object#equals(Object)}), an {@code IllegalArgumentException} is thrown when the collection
       * operation is performed. (This differs from the {@code Collector} returned by {@link
       * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.)
       *
       * @since 21.0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Range.java

     *
     * <ul>
     *   <li>{@code [a..a]} : a singleton range
     *   <li>{@code [a..a); (a..a]} : {@linkplain #isEmpty empty} ranges; also valid
     *   <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown
     * </ul>
     *
     * <h3>Warnings</h3>
     *
     * <ul>
     *   <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_2x.md

        unexpected NPN response is received and OkHttp crashes.
     *  Fix: Write continuation frames when HPACK data is larger than 16383 bytes.
     *  Fix: Don't drop uncaught exceptions thrown in async calls.
     *  Fix: Throw an exception eagerly when a request body is not legal. Previously
        we ignored the problem at request-building time, only to crash later with a
        `NullPointerException`.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

       */
      @Deprecated
      public int binarySearch(
          List<? extends T> sortedList, @ParametricNullness T key) {
        return Collections.binarySearch(sortedList, key, this);
      }
    
      /**
       * Exception thrown by a {@link Ordering#explicit(List)} or {@link Ordering#explicit(Object,
       * Object[])} comparator when comparing a value outside the set of values it can compare.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        }
      }
    
      /**
       * Iterates the elements of the queue in no particular order.
       *
       * <p>If the underlying queue is modified during iteration an exception will be thrown.
       */
      private class QueueIterator implements Iterator<E> {
        private int cursor = -1;
        private int nextCursor = -1;
        private int expectedModCount = modCount;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       * except that it doesn't follow symbolic links and returns {@code Path} instances.
       *
       * <p>If the {@link File} passed to one of the {@link Traverser} methods does not exist or is not
       * a directory, no exception will be thrown and the returned {@link Iterable} will contain a
       * single element: that file.
       *
       * <p>Example: {@code Files.fileTraverser().depthFirstPreOrder(new File("/"))} may return files
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return asList(elements).iterator();
      }
    
      // In GWT, java.util.TreeSet throws ClassCastException when the comparator
      // throws it, unlike JDK6.  Therefore, we accept ClassCastException as a
      // valid result thrown by java.util.TreeSet#equals.
      private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) {
        try {
          assertThat(actual).isNotEqualTo(unexpected);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/BaseEncoding.java

            public int read(byte[] buf, int off, int len) throws IOException {
              // Overriding this to work around the fact that InputStream's default implementation of
              // this method will silently swallow exceptions thrown by the single-byte read() method
              // (other than on the first call to it), which in this case can cause invalid encoded
              // strings to not throw an exception.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       * except that it doesn't follow symbolic links and returns {@code Path} instances.
       *
       * <p>If the {@link File} passed to one of the {@link Traverser} methods does not exist or is not
       * a directory, no exception will be thrown and the returned {@link Iterable} will contain a
       * single element: that file.
       *
       * <p>Example: {@code Files.fileTraverser().depthFirstPreOrder(new File("/"))} may return files
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top