Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 422 for Entrees (0.41 sec)

  1. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("bar", 3);
        Iterator<Entry<String, Integer>> entries = map.entries().iterator();
        Entry<String, Integer> entry = entries.next();
        assertEquals("bar", entry.getKey());
        assertEquals(1, (int) entry.getValue());
        entry = entries.next();
        assertEquals("foo", entry.getKey());
        assertEquals(2, (int) entry.getValue());
        entry.setValue(4);
        entry = entries.next();
        assertEquals("bar", entry.getKey());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("bar", 3);
        Iterator<Entry<String, Integer>> entries = map.entries().iterator();
        Entry<String, Integer> entry = entries.next();
        assertEquals("bar", entry.getKey());
        assertEquals(1, (int) entry.getValue());
        entry = entries.next();
        assertEquals("foo", entry.getKey());
        assertEquals(2, (int) entry.getValue());
        entry.setValue(4);
        entry = entries.next();
        assertEquals("bar", entry.getKey());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          Set<Entry<Object, Object>> entries = cache.asMap().entrySet();
          List<Entry<Object, Object>> warmed = warmUp(cache, WARMUP_MIN, WARMUP_MAX);
    
          Set<?> expected = Maps.newHashMap(cache.asMap()).entrySet();
          assertThat(entries).containsExactlyElementsIn(expected);
          assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return getEntryNullReplaces().getKey();
      }
    
      private Entry<K, V> getEntryNullReplaces() {
        Iterator<Entry<K, V>> entries = getSampleElements().iterator();
        for (int i = 0; i < getNullLocation(); i++) {
          entries.next();
        }
        return entries.next();
      }
    
      /** @return an array of the proper size with {@code null} as the value of the middle element. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

     * requested entries may be evicted on each cache modification.
     *
     * <p>If {@link #expireAfterWrite expireAfterWrite} or {@link #expireAfterAccess expireAfterAccess}
     * is requested entries may be evicted on each cache modification, on occasional cache accesses, or
     * on calls to {@link Cache#cleanUp}. Expired entries may be counted by {@link Cache#size}, but will
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMap.java

        super(delegate);
      }
    
      RegularImmutableMap(Entry<? extends K, ? extends V>... entries) {
        this(/* throwIfDuplicateKeys= */ true, entries);
      }
    
      RegularImmutableMap(boolean throwIfDuplicateKeys, Entry<? extends K, ? extends V>[] entries) {
        super(throwIfDuplicateKeys, entries);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          // Start with a suitably shaped collection of entries
          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(Helpers.mapEntry(keysArray[i++], entry.getValue()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        private final transient ImmutableList<Entry<K, V>> entries;
    
        RegularEntrySet(ImmutableMap<K, V> map, Entry<K, V>[] entries) {
          this(map, ImmutableList.<Entry<K, V>>asImmutableList(entries));
        }
    
        RegularEntrySet(ImmutableMap<K, V> map, ImmutableList<Entry<K, V>> entries) {
          this.map = map;
          this.entries = entries;
        }
    
        @Override
        ImmutableMap<K, V> map() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

          if (entries instanceof Collection) {
            ensureCapacity(size + ((Collection<?>) entries).size());
          }
          for (Entry<? extends K, ? extends V> entry : entries) {
            put(entry);
          }
          return this;
        }
    
        /**
         * Configures this {@code Builder} to order entries by value according to the specified
         * comparator.
    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)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

      // If the `next` bits in `entries[i]` are 0 that means there are no further entries for the given
      // short hash. But 0 is also a valid index in `entries`, so we add 1 to these indices before
      // putting them in `table` or in `next` bits, and subtract 1 again when we need an index value.
      //
      // The elements of `keys`, `values`, and `entries` are added sequentially, so that elements 0 to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
Back to top