Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,320 for key1 (0.02 seconds)

  1. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

        return delegate().getAll(keys);
      }
    
      @Override
      public V apply(K key) {
        return delegate().apply(key);
      }
    
      @Override
      public void refresh(K key) {
        delegate().refresh(key);
      }
    
      /**
       * A simplified version of {@link ForwardingLoadingCache} where subclasses can pass in an already
       * constructed {@link LoadingCache} as the delegate.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          return;
        }
    
        Set<K> keys = map.keySet();
        K key = keys.iterator().next();
        if (supportsRemove) {
          int initialSize = map.size();
          keys.remove(key);
          assertEquals(initialSize - 1, map.size());
          assertFalse(map.containsKey(key));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> keys.remove(key));
        }
        assertInvariants(map);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

            this.readers = Collections.unmodifiableList(
                    new ArrayList<>(readers.stream().filter(Objects::nonNull).collect(Collectors.toList())));
            Key key = new Key(this.readers);
            this.repository = new WorkspaceRepository(key.getContentType(), key);
        }
    
        public List<WorkspaceReader> getReaders() {
            return readers;
        }
    
        public void addReader(WorkspaceReader workspaceReader) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java

        for (K key : multimap().keySet()) {
          SortedSet<V> valueSet = (SortedSet<V>) multimap().asMap().get(key);
          assertEquals(multimap().valueComparator(), valueSet.comparator());
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemoveImplementsSortedSet() {
        List<K> keys = new ArrayList<>(multimap().keySet());
        for (K key : keys) {
          resetCollection();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/AbstractCache.java

      }
    
      @Override
      public void invalidate(Object key) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * @since 11.0
       */
      @Override
      // For discussion of <? extends Object>, see getAllPresent.
      public void invalidateAll(Iterable<? extends Object> keys) {
        for (Object key : keys) {
          invalidate(key);
        }
      }
    
      @Override
      public void invalidateAll() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt

            val unrecognizedContributors = contributorsFromPullRequests.keys - contributorsInReleaseNotes.keys
            if (unrecognizedContributors.isNotEmpty()) {
                val contributorsToUpdate = contributorsInReleaseNotes + unrecognizedContributors.map { it to contributorsFromPullRequests[it]!! }
                val sortedContributors = contributorsToUpdate.entries.sortedBy { (it.value.name ?: it.key).lowercase() }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Dec 15 07:49:41 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

        assertEmpty(multimap().entries());
        assertEmpty(multimap().asMap());
        assertEmpty(multimap().keySet());
        assertEmpty(multimap().keys());
        assertEmpty(multimap().values());
        for (K key : sampleKeys()) {
          assertGet(key);
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        multimap().clear();
        assertCleared();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/HashBasedTable.java

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/HashBasedTable.java

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

        private Map<Key, PluginDescriptor> descriptors = new ConcurrentHashMap<>(128);
        private Map<Key, Key> keys = new ConcurrentHashMap<>();
    
        @Override
        public void flush() {
            descriptors.clear();
        }
    
        @Override
        public Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top