Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 375 for Entries (0.04 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        return new Builder<K, V>((Comparator<K>) NATURAL_ORDER).putAll(entries).build();
      }
    
      public static <K, V> ImmutableSortedMap<K, V> copyOf(
          Iterable<? extends Entry<? extends K, ? extends V>> entries,
          Comparator<? super K> comparator) {
        return new Builder<K, V>(comparator).putAll(entries).build();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

      public static final class HashBiMapGenerator extends TestStringBiMapGenerator {
        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
          BiMap<String, String> result = HashBiMap.create();
          for (Entry<String, String> entry : entries) {
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        NavigableMap<String, String> map = new SafeTreeMap<>(Ordering.natural());
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        @SuppressWarnings("unchecked")
        @Override
        public BiMap<Country, String> create(Object... entries) {
          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;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

      }
    
      @SafeVarargs
      public static <K, V> ImmutableBiMap<K, V> ofEntries(Entry<? extends K, ? extends V>... entries) {
        return new RegularImmutableBiMap<K, V>(ImmutableMap.ofEntries(entries));
      }
    
      public static <K, V> Builder<K, V> builder() {
        return new Builder<K, V>();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        // Tests that serializing a map, its keySet, and values only writes the underlying data once.
    
        Object[] entries = new Object[2000];
        for (int i = 0; i < entries.length; i++) {
          entries[i] = i;
        }
    
        ImmutableMap<Integer, Integer> map = RegularImmutableMap.create(entries.length / 2, entries);
        Set<Integer> keySet = map.keySet();
        Collection<Integer> values = map.values();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals("", j.join(ImmutableMultimap.of().entries()));
        assertEquals("", j.join(ImmutableMultimap.of().entries().iterator()));
        assertEquals(":", j.join(ImmutableMultimap.of("", "").entries()));
        assertEquals(":", j.join(ImmutableMultimap.of("", "").entries().iterator()));
        assertEquals("1:a;1:b", j.join(ImmutableMultimap.of("1", "a", "1", "b").entries()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      }
    
      /**
       * Returns an iterator over the cache's current entries. This iterator doesn't throw
       * `ConcurrentModificationException`, but if new entries are added while iterating, those new
       * entries will not be returned by the iterator. If existing entries are removed during iteration,
       * they will be absent (unless they were already returned).
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

        return orderEntriesByKey(insertionOrder);
      }
    
      @Override
      protected abstract SortedMap<String, String> create(Entry<String, String>[] entries);
    
      @Override
      public SortedMap<String, String> create(Object... entries) {
        return (SortedMap<String, String>) super.create(entries);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/package-info.java

     *   <dd>A new type, which is similar to {@link java.util.Map}, but may contain multiple entries
     *       with the same key. Some behaviors of {@link Multimap} are left unspecified and are provided
     *       only by the subtypes mentioned below.
     *   <dt>{@link ListMultimap}
     *   <dd>An extension of {@link Multimap} which permits duplicate entries, supports random access of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top