Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 825 for Entry (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValue() {
        List<Entry<K, V>> entries = copyToList(multimap().entries());
    
        for (Entry<K, V> entry : entries) {
          resetContainer();
    
          K k = entry.getKey();
          V v = entry.getValue();
    
          List<V> values = multimap().get(k);
          List<V> expectedValues = copyToList(values);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

                // requireNonNull is safe because the first `size` elements have been filled in.
                Entry<K, V> prevEntry = requireNonNull(entryArray[i - 1]);
                Entry<K, V> entry = requireNonNull(entryArray[i]);
                K key = entry.getKey();
                V value = entry.getValue();
                checkEntryNotNull(key, value);
                keys[i] = key;
                values[i] = value;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

            return upgradedProperties.stream()
                .flatMap(UpgradePropertiesRuleSetup::oldRemovedAccessorsOfUpgradedProperty)
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
        }
    
        private static Stream<Map.Entry<AccessorKey, ReplacedAccessor>> oldRemovedAccessorsOfUpgradedProperty(UpgradedProperty upgradedProperty) {
            return upgradedProperty.getReplacedAccessors().stream()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. internal/logger/target/console/console.go

    	}
    
    	var apiString string
    	if entry.API != nil {
    		apiString = "API: " + entry.API.Name
    		if entry.API.Args != nil {
    			args := ""
    			if entry.API.Args.Bucket != "" {
    				args = args + "bucket=" + entry.API.Args.Bucket
    			}
    			if entry.API.Args.Object != "" {
    				args = args + ", object=" + entry.API.Args.Object
    			}
    			if entry.API.Args.VersionID != "" {
    				args = args + ", versionId=" + entry.API.Args.VersionID
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/LinkedHashMultimap.java

          for (ValueEntry<K, V> entry = hashTable[bucket];
              entry != null;
              prev = entry, entry = entry.nextInValueBucket) {
            if (entry.matchesValue(o, smearedHash)) {
              if (prev == null) {
                // first entry in the bucket
                hashTable[bucket] = entry.nextInValueBucket;
              } else {
                prev.nextInValueBucket = entry.nextInValueBucket;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each key
          Collection<Entry<K, V>> entries = new ArrayList<>(elements.length);
          int i = 0;
          for (Entry<K, V> entry : originalEntries) {
            entries.add(mapEntry(keysArray[i++], entry.getValue()));
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        Entry<K, V> entry = lastEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top