Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for LinkedHashMultimap (0.18 sec)

  1. guava/src/com/google/common/collect/LinkedHashMultimap.java

    @ElementTypesAreNonnullByDefault
    public final class LinkedHashMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends LinkedHashMultimapGwtSerializationDependencies<K, V> {
    
      /** Creates a new, empty {@code LinkedHashMultimap} with the default initial capacities. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMultimap<K, V> create() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      public void testValueSetHashTableExpansion() {
        LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create();
        for (int z = 1; z <= 100; z++) {
          multimap.put("a", z);
          // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
      static <K, V> LinkedHashMultimap<K, V> generateLinkedHashMultimap(
          @Nullable K key, @Nullable V value) {
        LinkedHashMultimap<K, V> multimap = LinkedHashMultimap.create();
        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
      static <K, V> LinkedHashMultimap<K, V> generateLinkedHashMultimap(
          @Nullable K key, @Nullable V value) {
        LinkedHashMultimap<K, V> multimap = LinkedHashMultimap.create();
        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        LinkedHashMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return LinkedHashMultimap.create(contents);
          }
        },
        TreeMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        Map<String, List<Integer>> map = Multimaps.asMap(listMultimap);
        assertSame(listMultimap.asMap(), map);
      }
    
      public void testAsMap_setMultimap() {
        SetMultimap<String, Integer> setMultimap = LinkedHashMultimap.create();
        Map<String, Set<Integer>> map = Multimaps.asMap(setMultimap);
        assertSame(setMultimap.asMap(), map);
      }
    
      public void testAsMap_sortedSetMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        LinkedHashMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return LinkedHashMultimap.create(contents);
          }
        },
        TreeMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/LinkedListMultimap.java

     * multimap.put(key2, bar);
     * multimap.put(key1, baz);
     * }</pre>
     *
     * ... the iteration order for {@link #keys()} is {@code [key1, key2, key1]}, and similarly for
     * {@link #entries()}. Unlike {@link LinkedHashMultimap}, the iteration order is kept consistent
     * between keys, entries and values. For example, calling:
     *
     * <pre>{@code
     * multimap.remove(key1, foo);
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap);
    
        @Override
        public SetMultimap<String, Integer> create(Object... elements) {
          SetMultimap<String, Integer> multimap = LinkedHashMultimap.create();
          for (Object o : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) o;
            multimap.put(entry.getKey(), entry.getValue());
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap);
    
        @Override
        public SetMultimap<String, Integer> create(Object... elements) {
          SetMultimap<String, Integer> multimap = LinkedHashMultimap.create();
          for (Object o : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) o;
            multimap.put(entry.getKey(), entry.getValue());
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top