Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for getUnchecked (0.08 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link Futures#getChecked(Future, Class)}. */
    @NullUnmarked
    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

    import static com.google.common.util.concurrent.Futures.immediateFuture;
    import static com.google.common.util.concurrent.FuturesGetChecked.checkExceptionClassValidity;
    import static com.google.common.util.concurrent.FuturesGetChecked.getChecked;
    import static com.google.common.util.concurrent.FuturesGetChecked.isCheckedException;
    import static com.google.common.util.concurrent.FuturesGetChecked.weakSetValidator;
    
    import com.google.caliper.BeforeExperiment;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

    /** Static methods used to implement {@link Futures#getChecked(Future, Class)}. */
    @J2ktIncompatible
    @GwtIncompatible
    final class FuturesGetChecked {
      @CanIgnoreReturnValue
      @ParametricNullness
      static <V extends @Nullable Object, X extends Exception> V getChecked(
          Future<V> future, Class<X> exceptionClass) throws X {
        return getChecked(bestGetCheckedTypeValidator(), future, exceptionClass);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top