Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for LinkedHashMultimap (0.19 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/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.ImmutableSortedMultiset;
    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.LinkedHashMultimap;
    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.ImmutableSortedMultiset;
    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.LinkedHashMultimap;
    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top