Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 440 for getValue1 (0.17 sec)

  1. android/guava/src/com/google/common/collect/ForwardingMap.java

        Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
        while (entryIterator.hasNext()) {
          Entry<K, V> entry = entryIterator.next();
          if (Objects.equal(entry.getKey(), key)) {
            V value = entry.getValue();
            entryIterator.remove();
            return value;
          }
        }
        return null;
      }
    
      /**
       * A sensible definition of {@link #clear} in terms of the {@code iterator} method of {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/ClassPath.java

        ImmutableSet.Builder<LocationInfo> builder = ImmutableSet.builder();
        for (Map.Entry<File, ClassLoader> entry : getClassPathEntries(classloader).entrySet()) {
          builder.add(new LocationInfo(entry.getKey(), entry.getValue()));
        }
        return builder.build();
      }
    
      /**
       * Represents a single location (a directory or a jar file) in the class path and is responsible
       * for scanning resources from this location.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          case 1:
            // requireNonNull is safe because the first `size` elements have been filled in.
            Entry<K, V> onlyEntry = requireNonNull(entryArray[0]);
            return of(comparator, onlyEntry.getKey(), onlyEntry.getValue());
          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

          for (Object object : entries) {
            Entry<Country, Currency> entry = (Entry<Country, Currency>) object;
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, Currency>> samples() {
          return new SampleElements<>(
              mapEntry(Country.CANADA, Currency.DOLLAR),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                    final Tags objectTags = getObjectTags(bucketName, path);
                    if (objectTags != null) {
                        objectTags.get().entrySet().forEach(e -> responseData.addMetaData(e.getKey(), e.getValue()));
                    }
                    if (statObject.size() < maxCachedContentSize) {
                        final GetObjectArgs args = GetObjectArgs.builder().bucket(bucketName).object(path).build();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        // Test #values()
    
        assertMultimapRemainsUnmodified(multimap, originalEntries);
        if (!multimap.isEmpty()) {
          Collection<V> values = multimap.asMap().entrySet().iterator().next().getValue();
    
          assertCollectionIsUnmodifiable(values, sampleValue);
        }
    
        // Test #entries()
        assertCollectionIsUnmodifiable(multimap.entries(), immutableEntry(sampleKey, sampleValue));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    counter++;
                    final Map<String, Object> localDataMap =
                            dataMap.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
                    String processingUrl = urlQueue.poll();
                    processedUrls.add(processingUrl);
                    if (deleteUrlList.contains(processingUrl)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

          for (Table.Cell<String, SecretKey, HashFunction> cell : ALGORITHMS.cellSet()) {
            String algorithm = cell.getRowKey();
            SecretKey key = cell.getColumnKey();
            HashFunction hashFunc = cell.getValue();
            assertMacHashing(HashTestUtils.ascii(stringToTest), algorithm, key, hashFunc);
          }
        }
      }
    
      @AndroidIncompatible // sun.security
      public void testNoProviders() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

        for (Cell<HashFunction, String, String> cell : KNOWN_HASHES.cellSet()) {
          HashFunction func = cell.getRowKey();
          String input = cell.getColumnKey();
          String expected = cell.getValue();
          assertEquals(
              String.format(Locale.ROOT, "Known hash for hash(%s, UTF_8) failed", input),
              expected,
              func.hashString(input, UTF_8).toString());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    for (Map.Entry<String, String> entry : references.entrySet()) {
                        slf4jLogger.error("{} {}", MessageUtils.builder().strong(entry.getValue()), entry.getKey());
                    }
                }
    
                if (result.canResume()) {
                    logBuildResumeHint("mvn [args] -r");
                } else if (!failedProjects.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top