Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for LinkedListMultimap (0.06 sec)

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

          LinkedListMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
        return new LinkedListMultimap<>(multimap);
      }
    
      LinkedListMultimap() {
        this(12);
      }
    
      private LinkedListMultimap(int expectedKeys) {
        keyToKeyList = Platform.newHashMapWithExpectedSize(expectedKeys);
      }
    
      private LinkedListMultimap(Multimap<? extends K, ? extends V> multimap) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      }
    
      public void testBuilderPutAllMultimap() {
        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 3);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 5);
        moreToPut.put("foo", 7);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      }
    
      public void testBuilderPutAllMultimap() {
        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 3);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 5);
        moreToPut.put("foo", 7);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      public void testBuilderPutAllMultimap() {
        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 3);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 5);
        moreToPut.put("foo", 7);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return ArrayListMultimap.create(contents);
          }
        },
        LinkedListMultimapImpl {
          @Override
          <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) {
            return LinkedListMultimap.create(contents);
          }
        },
        ImmutableListMultimapImpl {
          @Override
          <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) {
            return ImmutableListMultimap.copyOf(contents);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          implements TestListMultimapGenerator<String, Integer> {
    
        @Override
        public ListMultimap<String, Integer> create(Object... elements) {
          ListMultimap<String, Integer> multimap = LinkedListMultimap.create();
          for (Object o : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) o;
            multimap.put(entry.getKey(), entry.getValue());
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
      public void testUnmodifiableLinkedListMultimapRandomAccess() {
        ListMultimap<String, Integer> delegate = LinkedListMultimap.create();
        delegate.put("foo", 1);
        delegate.put("foo", 3);
        ListMultimap<String, Integer> multimap = Multimaps.unmodifiableListMultimap(delegate);
        assertFalse(multimap.get("foo") instanceof RandomAccess);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          implements TestListMultimapGenerator<String, Integer> {
    
        @Override
        public ListMultimap<String, Integer> create(Object... elements) {
          ListMultimap<String, Integer> multimap = LinkedListMultimap.create();
          for (Object o : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) o;
            multimap.put(entry.getKey(), entry.getValue());
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
       * HashMultimap#create()}, {@link LinkedHashMultimap#create()}, {@link
       * LinkedListMultimap#create()}, {@link TreeMultimap#create()}, and {@link
       * TreeMultimap#create(Comparator, Comparator)} won't suffice.
       *
       * <p>Note: the multimap assumes complete ownership over of {@code map} and the collections
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top