Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 2,240 for throwIf (0.44 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if the
       * current thread is interrupted during the call, even if the value is already available.
       *
       * @throws CancellationException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, TimeoutException, ExecutionException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                            @Override
                            public InputStream getContentAsStream() throws IOException {
                                return new FileInputStream(testFile);
                            }
    
                            @Override
                            public void close() throws IOException {
                                // Nothing to close
                            }
                        };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ContiguousSet.java

       * ContiguousSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link #create}.
       */
      @Deprecated
      @DoNotCall("Always throws UnsupportedOperationException")
      public static <E> ImmutableSortedSet.Builder<E> builder() {
        throw new UnsupportedOperationException();
      }
    
      // redeclare to help optimizers with b/310253115
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Range.java

       * given values. The returned range is {@linkplain BoundType#CLOSED closed} on both ends.
       *
       * @throws ClassCastException if the values are not mutually comparable
       * @throws NoSuchElementException if {@code values} is empty
       * @throws NullPointerException if any of {@code values} is null
       * @since 14.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java

      @CanIgnoreReturnValue
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
          throws ExecutionException {
        try {
          return future.get();
        } catch (InterruptedException e) {
          // Should never be thrown in GWT but play it safe
          throw new IllegalStateException(e);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/FileBackedOutputStream.java

                throw new IOException("Could not delete: " + deleteMe);
              }
            }
          }
        }
    
        synchronized void write(int b) throws IOException {
          update(1);
          out.write(b);
        }
    
        synchronized void write(byte[] b, int off, int len) throws IOException {
          update(len);
          out.write(b, off, len);
        }
    
        synchronized void close() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

       * sees an Error?
       */
      @AndroidIncompatible
      public void testTaskThrowsError() throws Exception {
        class MyError extends Error {}
        CyclicBarrier barrier = new CyclicBarrier(2);
        // we need to make sure the error gets thrown on a different thread.
        ExecutorService service = newSingleThreadExecutor();
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      private static final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSource source;
    
      @Override
      protected void setUp() throws Exception {
        source = new TestByteSource(bytes);
      }
    
      public void testOpenBufferedStream() throws IOException {
        InputStream in = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

        public ProcessHelper processHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            processHelper = new ProcessHelper();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            // Clean up any running processes
            processHelper.destroy();
            super.tearDown(testInfo);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<K, V> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
Back to Top