Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 547 for Keys (0.12 sec)

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

              map.put(element, element);
            }
            return map;
          }
        },
        UnmodHM {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            return Collections.unmodifiableMap(Hash.create(keys));
          }
        },
        SyncHM {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            return Collections.synchronizedMap(Hash.create(keys));
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

        this.keys = keys;
        this.values = values;
      }
    
      @Override
      public SampleElements<Entry<K, V>> samples() {
        return SampleElements.mapEntries(keys, values);
      }
    
      @Override
      public Set<Entry<K, V>> create(Object... elements) {
        Entry<K, V>[] entries = createArray(elements.length);
        System.arraycopy(elements, 0, entries, 0, elements.length);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultimap.java

     * according to the key comparator ordering or the natural ordering of the keys. Similarly, {@code
     * get}, {@code removeAll}, and {@code replaceValues} return collections that iterate through the
     * values according to the value comparator ordering or the natural ordering of the values. The
     * collections generated by {@code entries}, {@code keys}, and {@code values} iterate across the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EnumHashBiMap.java

    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.
     *
     * <p>See the Guava User Guide article on <a href=
    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)
  5. docs_src/generate_clients/tutorial004.js

      try {
        const data = await fs.promises.readFile(filePath)
        const openapiContent = JSON.parse(data)
    
        const paths = openapiContent.paths
        for (const pathKey of Object.keys(paths)) {
          const pathData = paths[pathKey]
          for (const method of Object.keys(pathData)) {
            const operation = pathData[method]
            if (operation.tags && operation.tags.length > 0) {
              const tag = operation.tags[0]
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 14 11:40:05 GMT 2024
    - 1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      RESTRICTS_KEYS,
      RESTRICTS_VALUES,
      SUPPORTS_PUT,
      SUPPORTS_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
      /**
       * Indicates that the constructor or factory method of a map, usually an immutable map, throws an
       * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all
       * but one.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheLoader.java

      /**
       * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link
       * LoadingCache#getAll}.
       *
       * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does
       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link BiMap} backed by two hash tables. This implementation allows null keys and values. A
     * {@code HashBiMap} and its inverse are both serializable.
     *
     * <p>This implementation guarantees insertion-based iteration order of its keys.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  9. .cm/plugins/filters/categorize/index.js

     */
    
    function categorize(fileOwners, fileMetadatas) {
        const result = new Map();
        [...fileOwners.keys()].forEach(platform => {
            result.set(platform, {
                name: platform,
                files: []
            });
        });
    
        Object.values(fileMetadatas).forEach(fileMetadata => {
            [...fileOwners.keys()].forEach(platform => {
                const files = fileOwners.get(platform);
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @SuppressWarnings("unchecked")
        final Object legacyReadResolve() {
          K[] keys = (K[]) this.keys;
          V[] values = (V[]) this.values;
    
          Builder<K, V> builder = makeBuilder(keys.length);
    
          for (int i = 0; i < keys.length; i++) {
            builder.put(keys[i], values[i]);
          }
          return builder.buildOrThrow();
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top