Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unexpectedly (0.16 sec)

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

        AsyncFunction<Foo, Bar> function =
            new AsyncFunction<Foo, Bar>() {
              @Override
              public ListenableFuture<Bar> apply(Foo unused) {
                throw new AssertionFailedError("Unexpected call to apply.");
              }
            };
        assertTrue(transformAsync(input, function, directExecutor()).cancel(false));
        assertTrue(input.isCancelled());
        assertFalse(input.wasInterrupted());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        AsyncFunction<Foo, Bar> function =
            new AsyncFunction<Foo, Bar>() {
              @Override
              public ListenableFuture<Bar> apply(Foo unused) {
                throw new AssertionFailedError("Unexpected call to apply.");
              }
            };
        assertTrue(transformAsync(input, function, directExecutor()).cancel(false));
        assertTrue(input.isCancelled());
        assertFalse(input.wasInterrupted());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered maps can lead to unexpected and undefined behavior.
       *
       * @since 20.0
       */
      @GwtIncompatible // NavigableMap
      public static <K extends Comparable<? super K>, V extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top