Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,569 for what (0.14 sec)

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

     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

        SettableFuture<?> unused = SettableFuture.create();
        // Hack to load AbstractFuture et. al. in a new classloader so that it tries to re-read the
        // cancellation-cause system property. This allows us to test what happens if reading the
        // property is forbidden and then continue running tests normally in one jvm without resorting
        // to even crazier hacks to reset static final boolean fields.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 5.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClusterException.java

       * <ul>
       *   <li>If {@code exceptions} has a single exception and that exception is a {@link
       *       RuntimeException}, return it
       *   <li>If {@code exceptions} has a single exceptions and that exceptions is not a
       *       {@link RuntimeException}, return a simple {@code RuntimeException} that wraps it
       *   <li>Otherwise, return an instance of {@link ClusterException} that wraps the first exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeVisitor.java

    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.lang.reflect.WildcardType;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Based on what a {@link Type} is, dispatch it to the corresponding {@code visit*} method. By
     * default, no recursion is done for type arguments or type bounds. But subclasses can opt to do
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public <T> T[] toArray(T[] a) {
        return delegate.toArray(a);
      }
    
      @CanIgnoreReturnValue
      private <T> T checkValid(T t) {
        // a ClassCastException is what's supposed to happen!
        @SuppressWarnings("unchecked")
        E e = (E) t;
        int unused = comparator().compare(e, e);
        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_unsupportedNotPresent()} so that tests
       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we figure out
       * what to do with <a href="http://goo.gl/qJBruX">{@code ConcurrentHashMap} support for {@code
       * entrySet().add()}</a>.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    as well say that "I see what I eat" is the same thing as "I eat
    what I see"!'
    
      `You might just as well say,' added the March Hare, `that "I
    like what I get" is the same thing as "I get what I like"!'
    
      `You might just as well say,' added the Dormouse, who seemed to
    be talking in his sleep, `that "I breathe when I sleep" is the
    same thing as "I sleep when I breathe"!'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Utilities necessary for working with libraries that supply plain {@link Future} instances. Note
     * that, whenever possible, it is strongly preferred to modify those libraries to return {@code
     * ListenableFuture} directly.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        suite.addTestSuite(MutableTypeToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
       * ImmutableClassToInstanceMap}, no copy will actually be performed.
       *
       * @throws NullPointerException if any key or value in {@code map} is null
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
Back to top