Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for adapter (0.17 sec)

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

     * CompletableFuture}. {@code FluentFuture} is targeted at people who use {@code ListenableFuture},
     * who can't use Java 8, or who want an API more focused than {@code CompletableFuture}. (If you
     * need to adapt between {@code CompletableFuture} and {@code ListenableFuture}, consider <a
     * href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.)
     *
     * <h3>Extension</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck-jsr166e/AtomicDoubleArrayTest.java?revision=1.13
     * (Modified to adapt to guava coding conventions)
     */
    
    package com.google.common.util.concurrent;
    
    import static org.junit.Assert.assertThrows;
    
    import java.util.Arrays;
    
    /** Unit test for {@link AtomicDoubleArray}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

       * @since 30.0
       */
      @SuppressWarnings("deprecation")
      @GwtIncompatible
      public static double roundToDouble(long x, RoundingMode mode) {
        // Logic adapted from ToDoubleRounder.
        double roundArbitrarily = (double) x;
        long roundArbitrarilyAsLong = (long) roundArbitrarily;
        int cmpXToRoundArbitrarily;
    
        if (roundArbitrarilyAsLong == Long.MAX_VALUE) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck-jsr166e/AtomicDoubleArrayTest.java?revision=1.13
     * (Modified to adapt to guava coding conventions)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.lang.Math.max;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

            try {
              latch.await();
            } catch (InterruptedException quittingTime) {
            }
            return TEST_STRING;
          }
        };
      }
    
      public Runnable awaiter(final CountDownLatch latch) {
        return new CheckedRunnable() {
          @Override
          public void realRun() throws InterruptedException {
            await(latch);
          }
        };
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            this.executionProperties = executionProperties;
            setProjects(projects);
            this.repositorySystemSession = null;
        }
    
        /**
         * Adapt a {@link MavenExecutionRequest} to a {@link Settings} object for use in the Maven core.
         * We want to make sure that what is ask for in the execution request overrides what is in the settings.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

     * guarantee that as long as we also require the input type to be non-null[*] (which is a
     * requirement that existing callers already fulfill).
     *
     * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that
     * that is how the signature looked even prior to this comment! So naturally any change can break
     * existing users, but it can't *fix* existing users because any users who needed
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

            try {
              latch.await();
            } catch (InterruptedException quittingTime) {
            }
            return TEST_STRING;
          }
        };
      }
    
      public Runnable awaiter(final CountDownLatch latch) {
        return new CheckedRunnable() {
          public void realRun() throws InterruptedException {
            await(latch);
          }
        };
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/DfsReferralData.java

    
    /**
     * Information returned in DFS referrals
     * 
     * @author mbechler
     * @internal
     */
    public interface DfsReferralData {
    
        /**
         * 
         * @param type
         * @return the referral adapted to type
         * @throws ClassCastException
         *             if the type is not valid for this object
         */
        <T extends DfsReferralData> T unwrap ( Class<T> type );
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

    import org.apache.maven.api.model.Site;
    import org.apache.maven.model.v4.MavenMerger;
    
    /**
     * The domain-specific model merger for the Maven POM, overriding generic code from parent class when necessary with
     * more adapted algorithms.
     *
     */
    public class MavenModelMerger extends MavenMerger {
    
        /**
         * The hint key for the child path adjustment used during inheritance for URL calculations.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top