Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,796 for requires (0.3 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

     */
    public class MultisetIteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      LinkedHashMultiset<Object> linkedHashMultiset;
      HashMultiset<Object> hashMultiset;
    
      // TreeMultiset requires a Comparable element.
      TreeMultiset<Integer> treeMultiset;
    
      @BeforeExperiment
      void setUp() {
        hashMultiset = HashMultiset.create(size);
        linkedHashMultiset = LinkedHashMultiset.create(size);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractIterator.java

    /**
     * This class provides a skeletal implementation of the {@code Iterator} interface, to make this
     * interface easier to implement for certain types of data sources.
     *
     * <p>{@code Iterator} requires its implementations to support querying the end-of-data status
     * without changing the iterator's state, using the {@link #hasNext} method. But many data sources,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/AbstractCache.java

       * structure, and is thus forced to return the query keys instead of the cached keys. This is only
       * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}.
       *
       * @since 11.0
       */
      /*
       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Internal.java

       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      @SuppressWarnings({
        // We use this method only for cases in which we need to decompose to primitives.
        "GoodTime-ApiWithNumericTimeUnit",
        "GoodTime-DecomposeToPrimitive",
        // We use this method only from within APIs that require a Duration.
        "Java7ApiChecker",
      })
      @IgnoreJRERequirement
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Internal.java

       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      @SuppressWarnings({
        // We use this method only for cases in which we need to decompose to primitives.
        "GoodTime-ApiWithNumericTimeUnit",
        "GoodTime-DecomposeToPrimitive",
        // We use this method only from within APIs that require a Duration.
        "Java7ApiChecker",
      })
      @IgnoreJRERequirement
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

          Map<? extends K, ? extends V> map, Comparator<? super K> comparator) {
    
        if (map instanceof ImmutableSortedMap) {
          // TODO: Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
          ImmutableSortedMap<K, V> kvMap = (ImmutableSortedMap<K, V>) map;
          Comparator<?> comparator2 = kvMap.comparator();
          boolean sameComparator =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. guava/module.json

            {
              "group": "com.google.guava",
              "module": "failureaccess",
              "version": {
                "requires": "1.0.2"
              }
            },
            {
              "group": "com.google.guava",
              "module": "listenablefuture",
              "version": {
                "requires": "9999.0-empty-to-avoid-conflict-with-guava"
              }
            },
            {
              "group": "com.google.code.findbugs",
    Json
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 17 18:11:49 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          throw new ConflictingRequirementsException(
              String.format(
                  Locale.ROOT,
                  "Annotation requires to be %s features that earlier "
                      + "annotations required to be %s.",
                  newRequirement,
                  earlierRequirement),
              intersection(newFeatures, earlierFeatures),
              source);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
Back to top