Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 423 for getKey (0.21 sec)

  1. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object one = new Object();
        assertSame(one, cache.getUnchecked(one));
        assertTrue(segment.recencyQueue.isEmpty());
        assertSame(one, map.get(one));
        assertSame(one, segment.recencyQueue.peek().getKey());
        assertSame(one, cache.getUnchecked(one));
        assertFalse(segment.recencyQueue.isEmpty());
      }
    
      public void testRecursiveComputation() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/AllTests.java

            for ( Entry<String, CIFSContext> ctx : CONTEXT_CACHE.entrySet() ) {
                if ( ctx.getValue().close() ) {
                    log.error("Context was still in use " + ctx.getKey());
                }
            }
        }
    
    
        static CIFSContext getCachedContext ( String context, Properties props ) throws CIFSException {
            CIFSContext cached = CONTEXT_CACHE.get(context);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/AbstractCache.java

      }
    
      /** @since 12.0 */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void cleanUp() {}
    
      @Override
      public long size() {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return newView(unmodifiableSortedMap(delegate), comparator);
      }
    
      private static <K, V> void putEntryWithChecks(
          SortedMap<K, V> map, Entry<? extends K, ? extends V> entry) {
        K key = checkNotNull(entry.getKey());
        V value = checkNotNull(entry.getValue());
        if (map.containsKey(key)) {
          // When a collision happens, the colliding entry is the first entry
          // of the tail map.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                        appendQuery(queryBuf, q);
                    }));
    
            stream(params.getFields()).of(stream -> stream.forEach(entry -> {
                final String key = entry.getKey();
                final String[] values = entry.getValue();
                if (values == null) {
                    // nothing
                } else if (values.length == 1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

          BiMap<Country, String> result = EnumHashBiMap.create(Country.class);
          for (Object o : entries) {
            Entry<Country, String> entry = (Entry<Country, String>) o;
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, String>> samples() {
          return new SampleElements<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                    for (Map.Entry<String, ArtifactRepository> v : versionIndex.entrySet()) {
                        try {
                            Version ver = versionScheme.parseVersion(v.getKey());
                            if (versionConstraint.containsVersion(ver)) {
                                versions.add(ver);
                                result.setRepository(ver, v.getValue());
                            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/LinkedHashMultimap.java

            return result;
          }
    
          @Override
          public void remove() {
            checkState(toRemove != null, "no calls to next() since the last call to remove()");
            LinkedHashMultimap.this.remove(toRemove.getKey(), toRemove.getValue());
            toRemove = null;
          }
        };
      }
    
      @Override
      Spliterator<Entry<K, V>> entrySpliterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                                            + "This plugin was pulled from the local repository!",
                                    project.getName(),
                                    plugin.getKey());
                        }
                    }
                }
            }
        }
    
        private void processPackagingAttribute(List<MavenProject> projects, MavenExecutionRequest request)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMultimap.java

      @Override
      public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
        boolean changed = false;
        for (Entry<? extends K, ? extends V> entry : multimap.entries()) {
          changed |= put(entry.getKey(), entry.getValue());
        }
        return changed;
      }
    
      @CanIgnoreReturnValue
      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
Back to top