Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for createCollection (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

      }
    
      @Override
      public SampleElements<String> sampleValues() {
        return new SampleElements<>("January", "February", "March", "April", "May");
      }
    
      @Override
      public Collection<String> createCollection(Iterable<? extends String> values) {
        return copyToSet(values);
      }
    
      @Override
      public final SetMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        @Override
        public SampleElements<String> sampleValues() {
          return new SampleElements<>("january", "february", "march", "april", "may");
        }
    
        @Override
        public Collection<String> createCollection(Iterable<? extends String> values) {
          return Lists.newArrayList(values);
        }
    
        @Override
        public SampleElements<Entry<String, String>> samples() {
          return new SampleElements<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashMultimap.java

       *
       * <p>Creates an empty {@code HashSet} for a collection of values for one key.
       *
       * @return a new {@code HashSet} containing a collection of values for one key
       */
      @Override
      Set<V> createCollection() {
        return Platform.<V>newHashSetWithExpectedSize(expectedValuesPerKey);
      }
    
      /**
       * @serialData expectedValuesPerKey, number of distinct keys, and then for each distinct key: the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

       *
       * <p>Creates an empty {@code LinkedHashSet} for a collection of values for one key.
       *
       * @return a new {@code LinkedHashSet} containing a collection of values for one key
       */
      @Override
      Set<V> createCollection() {
        return Platform.newLinkedHashSetWithExpectedSize(valueSetCapacity);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Creates a decorated insertion-ordered set that also keeps track of the order in which
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

          return createMaybeNavigableKeySet();
        }
    
        @Override
        Map<K, Collection<V>> createAsMap() {
          return createMaybeNavigableAsMap();
        }
    
        @Override
        protected Collection<V> createCollection() {
          return factory.get();
        }
    
        @Override
        <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
            Collection<E> collection) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top