Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 263 for Povirk (0.1 sec)

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

                  ?, ? extends OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>>>
              parentBuilder) {
        List<TestSuite> derived = super.createDerivedSuites(parentBuilder);
        // TODO(cpovirk): consider using this approach (derived suites instead of extension) in
        // ListTestSuiteBuilder, etc.?
        derived.add(
            MapTestSuiteBuilder.using(new MapGenerator<K, V>(parentBuilder.getSubjectGenerator()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/TypeParameter.java

     * on TypeToken.where.) So, in the interest of failing fast and encouraging the user to switch to a
     * non-null bound if possible, let's require a non-null bound here.
     *
     * TODO(cpovirk): Elaborate on "wouldn't behave as users might expect."
     */
    public abstract class TypeParameter<T> extends TypeCapture<T> {
    
      final TypeVariable<?> typeVariable;
    
      protected TypeParameter() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/ImmutableSupplier.java

    import com.google.common.base.Supplier;
    import com.google.errorprone.annotations.Immutable;
    
    /**
     * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link
     * Immutable}.
     */
    // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type?
    @Immutable
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/MapCacheTest.java

    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for {@link MapIteratorCache} and {@link MapRetrievalCache}. */
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    public final class MapCacheTest {
      private final MapIteratorCache<String, String> mapCache;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

        } catch (NoSuchMethodException expectedBeforeJava8) {
          return Class.forName("sun.misc.FpUtils").getMethod("nextDown", double.class);
        }
      }
    
      @AndroidIncompatible // TODO(cpovirk): File bug for BigDecimal.doubleValue().
      public void testBigToDouble() {
        for (BigInteger b : ALL_BIGINTEGER_CANDIDATES) {
          if (b.doubleValue() != DoubleUtils.bigToDouble(b)) {
            failFormat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeParameter.java

     * on TypeToken.where.) So, in the interest of failing fast and encouraging the user to switch to a
     * non-null bound if possible, let's require a non-null bound here.
     *
     * TODO(cpovirk): Elaborate on "wouldn't behave as users might expect."
     */
    public abstract class TypeParameter<T> extends TypeCapture<T> {
    
      final TypeVariable<?> typeVariable;
    
      protected TypeParameter() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public class ListenableFutureTask<V extends @Nullable Object> extends FutureTask<V>
        implements ListenableFuture<V> {
      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

              inv.containsKey(reversed.getKey()));
          assertFalse(
              "Inverse should not contain value " + reversed.getValue(),
              inv.containsValue(reversed.getValue()));
          /*
           * TODO(cpovirk): This is a bit stronger than super.expectMissing(), which permits a <key,
           * someOtherValue> pair.
           */
          assertNull(
              "Inverse should not return a mapping for key " + reversed.getKey(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for {@link MapIteratorCache} and {@link MapRetrievalCache}. */
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    public final class MapCacheTest {
      private final MapIteratorCache<String, String> mapCache;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java

    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionEqualsTester<E> extends AbstractCollectionTester<E> {
    
      // TODO(cpovirk): Consider using EqualsTester from Guava.
      @SuppressWarnings("SelfEquals")
      public void testEquals_self() {
        assertTrue("An Object should be equal to itself.", collection.equals(collection));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top