Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 2,075 for throwIf (0.13 seconds)

  1. guava/src/com/google/common/collect/ImmutableBiMap.java

      final ImmutableSet<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * Guaranteed to throw an exception and leave the bimap unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/Cache.java

       * {@code null}; it may either return a non-null value or throw an exception.
       *
       * <p>No observable state associated with this cache is modified until loading completes.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  3. 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)
  4. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code
       * stream.collect(MoreCollectors.onlyElement())}.
       *
       * @throws NoSuchElementException if the iterable is empty
       * @throws IllegalArgumentException if the iterable contains multiple elements
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getOnlyElement(Iterable<T> iterable) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java

        return super.toString() + "[status=SUCCESS, result=[" + value + "]]";
      }
    
      static final class ImmediateFailedFuture<V extends @Nullable Object> extends TrustedFuture<V> {
        ImmediateFailedFuture(Throwable thrown) {
          setException(thrown);
        }
      }
    
      static final class ImmediateCancelledFuture<V extends @Nullable Object> extends TrustedFuture<V> {
        static final @Nullable ImmediateCancelledFuture<Object> INSTANCE =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      public void testToString() throws Exception {
        Service a = new NoOpService();
        Service b = new FailStartService();
        ServiceManager manager = new ServiceManager(asList(a, b));
        String toString = manager.toString();
        assertThat(toString).contains("NoOpService");
        assertThat(toString).contains("FailStartService");
      }
    
      public void testTimeouts() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean replace(K key, V oldValue, V newValue) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  8. 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
    - 52.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testBulkLoad_extra() throws ExecutionException {
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) throws Exception {
                return new Object();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
Back to Top