Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 124 for mocked (0.23 sec)

  1. android/guava/src/com/google/common/hash/ImmutableSupplier.java

     */
    
    package com.google.common.hash;
    
    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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 1K bytes
    - Viewed (0)
  2. guava-testlib/README.md

    -   [guava-discuss: For open-ended questions and discussion](https://groups.google.com/group/guava-discuss)
    
    ## IMPORTANT WARNINGS
    
    1. APIs marked with the `@Beta` annotation at the class or method level
    are subject to change. They can be modified in any way, or even
    removed, at any time. If your code is a library itself (i.e. it is
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An {@link ImmutableAsList} implementation specialized for when the delegate collection is already
     * backed by an {@code ImmutableList} or array.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      /**
       * Verifies that {@code method} produces a {@link NullPointerException} or {@link
       * UnsupportedOperationException} when the parameter in position {@code paramIndex} is null. If
       * this parameter is marked nullable, this method does nothing.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethodParameter(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/EnumHashBiMap.java

    import java.util.EnumMap;
    import java.util.HashMap;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@code BiMap} backed by an {@code EnumMap} instance for keys-to-values, and a {@code HashMap}
     * instance for values-to-keys. Null keys are not permitted, but null values are. An {@code
     * EnumHashBiMap} and its inverse are both serializable.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * calling thread. Tasks are run to completion before a {@code Future} is returned to the caller
       * (unless the executor has been shutdown).
       *
       * <p>The returned executor is backed by the executor returned by {@link
       * MoreExecutors#newDirectExecutorService} and subject to the same constraints.
       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Queues.java

          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
        }
        return added;
      }
    
      /**
       * Returns a synchronized (thread-safe) queue backed by the specified queue. In order to guarantee
       * serial access, it is critical that <b>all</b> access to the backing queue is accomplished
       * through the returned queue.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

        return CollectCollectors.<T, K, V, M>flatteningToMultimap(
            keyFunction, valueFunction, multimapSupplier);
      }
    
      /**
       * Creates a new {@code Multimap} backed by {@code map}, whose internal value collections are
       * generated by {@code factory}.
       *
       * <p><b>Warning: do not use</b> this method when the collections returned by {@code factory}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayTable.java

    /**
     * Fixed-size {@link Table} implementation backed by a two-dimensional array.
     *
     * <p><b>Warning:</b> {@code ArrayTable} is rarely the {@link Table} implementation you want. First,
     * it requires that the complete universe of rows and columns be specified at construction time.
     * Second, it is always backed by an array large enough to hold a value for every possible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

                            .putAll(Arrays.asList(entries))
                            .buildJdkBacked();
                      }
                    })
                .named("ImmutableBiMap [JDK backed]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.KNOWN_ORDER,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top