Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Finnish (0.16 sec)

  1. guava-testlib/src/com/google/common/testing/CollectorTester.java

          A finalAccum = scheme.result(collector, inputs);
          if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
            @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH`
            R result = (R) finalAccum;
            assertEquivalent(expectedResult, result);
          }
          assertEquivalent(expectedResult, collector.finisher().apply(finalAccum));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       * to calling it exactly once.
       *
       * @since 10.0 (present in 1.0 as {@code run})
       */
      public void execute() {
        // Lock while we update our state so the add method above will finish adding any listeners
        // before we start to run them.
        RunnableExecutorPair list;
        synchronized (this) {
          if (executed) {
            return;
          }
          executed = true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      private static final class Failure {
        static final Failure FALLBACK_INSTANCE =
            new Failure(
                new Throwable("Failure occurred while trying to finish a future.") {
                  @Override
                  public synchronized Throwable fillInStackTrace() {
                    return this; // no stack trace
                  }
                });
        final Throwable exception;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                inputs.assertHasImmediateFailure(iFuture, jFuture, e);
              } catch (TimeoutException e) {
                inputs.assertHasDelayed(iFuture, jFuture, e);
              }
    
              // Finish the two futures in the currently specified order:
              inputs.allFutures.get(iBeforeJ ? i : j).finisher.run();
              inputs.allFutures.get(iBeforeJ ? j : i).finisher.run();
    
    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)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * @param executor the executor to modify to make sure it exits when the application is finished
       * @param terminationTimeout how long to wait for the executor to finish before terminating the
       *     JVM
       * @param timeUnit unit of time for the time parameter
       * @return an unmodifiable version of the input which will not hang the JVM
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                inputs.assertHasImmediateFailure(iFuture, jFuture, e);
              } catch (TimeoutException e) {
                inputs.assertHasDelayed(iFuture, jFuture, e);
              }
    
              // Finish the two futures in the currently specified order:
              inputs.allFutures.get(iBeforeJ ? i : j).finisher.run();
              inputs.allFutures.get(iBeforeJ ? j : i).finisher.run();
    
    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)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

          Executor executor) {
        return AbstractCatchingFuture.create(input, exceptionType, fallback, executor);
      }
    
      /**
       * Returns a future that delegates to another but will finish early (via a {@link
       * TimeoutException} wrapped in an {@link ExecutionException}) if the specified duration expires.
       *
       * <p>The delegate future is interrupted and cancelled if it times out.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top