Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for ArrayListMultimap (0.19 sec)

  1. android/guava/src/com/google/common/collect/ArrayListMultimap.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          ArrayListMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
        return new ArrayListMultimap<>(multimap);
      }
    
      private ArrayListMultimap() {
        this(12, DEFAULT_VALUES_PER_KEY);
      }
    
      private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ArrayListMultimap.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          ArrayListMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
        return new ArrayListMultimap<>(multimap);
      }
    
      private ArrayListMultimap() {
        this(12, DEFAULT_VALUES_PER_KEY);
      }
    
      private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original);
        assertEquals(3, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromArrayListMultimap() {
        ArrayListMultimap<String, Integer> original = ArrayListMultimap.create(15, 20);
        ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create();
        input.put(null, 1);
        try {
          ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOfNullValue() {
        ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original);
        assertEquals(3, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromArrayListMultimap() {
        ArrayListMultimap<String, Integer> original = ArrayListMultimap.create(15, 20);
        ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create();
        input.put(null, 1);
        try {
          ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOfNullValue() {
        ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

        return Multimaps.transformValues(
                ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity())
            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        populate(delegate);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

        return Multimaps.transformValues(
                ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity())
            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        populate(delegate);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedMultimapTest.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      public void testSynchronizedListMultimap() {
        ListMultimap<String, Integer> multimap =
            Multimaps.synchronizedListMultimap(ArrayListMultimap.<String, Integer>create());
        multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1));
        multimap.putAll("bar", Arrays.asList(1, 2, 3, 1));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 8.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * A dummy superclass to support GWT serialization of the element types of an {@link
     * ArrayListMultimap}. The GWT supersource for this class contains a field for each type.
     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
     * approach but with a subclass rather than a superclass.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Oct 24 18:57:48 GMT 2019
    - 1.5K bytes
    - Viewed (0)
Back to top