Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for LinkedListMultimap (0.09 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

            .addEqualityGroup(
                LinkedListMultimap.create(), LinkedListMultimap.create(), LinkedListMultimap.create(1))
            .testEquals();
      }
    
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(LinkedListMultimap.class);
        tester.ignore(LinkedListMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. 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 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/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 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

          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 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