Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for createCollection (0.21 sec)

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

       */
      protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract SortedSet<V> createCollection();
    
      @Override
      SortedSet<V> createUnmodifiableEmptyCollection() {
        return unmodifiableCollectionSubclass(createCollection());
      }
    
      @Override
      <E extends @Nullable Object> SortedSet<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       */
      protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract SortedSet<V> createCollection();
    
      @Override
      SortedSet<V> createUnmodifiableEmptyCollection() {
        return unmodifiableCollectionSubclass(createCollection());
      }
    
      @Override
      <E extends @Nullable Object> SortedSet<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * <p>To implement a multimap, a subclass must define the method {@link #createCollection()}, which
     * creates an empty collection of values for a key.
     *
     * <p>The multimap constructor takes a map that has a single entry for each distinct key. When you
     * insert a key-value pair with a key that isn't already in the multimap, {@code
     * AbstractMapBasedMultimap} calls {@link #createCollection()} to create the collection of values
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          return new SampleElements<>(
              mapEntry(sampleKeys.e0(), createCollection(sampleValues.e0())),
              mapEntry(sampleKeys.e1(), createCollection(sampleValues.e1())),
              mapEntry(sampleKeys.e2(), createCollection(sampleValues.e2())),
              mapEntry(sampleKeys.e3(), createCollection(sampleValues.e3())),
              mapEntry(sampleKeys.e4(), createCollection(sampleValues.e4())));
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          return new SampleElements<>(
              mapEntry(sampleKeys.e0(), createCollection(sampleValues.e0())),
              mapEntry(sampleKeys.e1(), createCollection(sampleValues.e1())),
              mapEntry(sampleKeys.e2(), createCollection(sampleValues.e2())),
              mapEntry(sampleKeys.e3(), createCollection(sampleValues.e3())),
              mapEntry(sampleKeys.e4(), createCollection(sampleValues.e4())));
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractListMultimap.java

    /**
     * Basic implementation of the {@link ListMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Lists}. The {@link
     * #createCollection} method must return a {@code List}.
     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractListMultimap.java

    /**
     * Basic implementation of the {@link ListMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Lists}. The {@link
     * #createCollection} method must return a {@code List}.
     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * <p>To implement a multimap, a subclass must define the method {@link #createCollection()}, which
     * creates an empty collection of values for a key.
     *
     * <p>The multimap constructor takes a map that has a single entry for each distinct key. When you
     * insert a key-value pair with a key that isn't already in the multimap, {@code
     * AbstractMapBasedMultimap} calls {@link #createCollection()} to create the collection of values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java

      K[] createKeyArray(int length);
    
      V[] createValueArray(int length);
    
      SampleElements<K> sampleKeys();
    
      SampleElements<V> sampleValues();
    
      Collection<V> createCollection(Iterable<? extends V> values);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractSetMultimap.java

    /**
     * Basic implementation of the {@link SetMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Sets}. The {@link
     * #createCollection} method must return a {@code Set}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractSetMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
Back to top