Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,314 for collectionOf (0.09 sec)

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

          return Collections.unmodifiableMap(super.row(rowKey));
        }
    
        @Override
        public Set<R> rowKeySet() {
          return Collections.unmodifiableSet(super.rowKeySet());
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          Function<Map<C, V>, Map<C, V>> wrapper = unmodifiableWrapper();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractSetMultimap.java

      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedSet(key, (Set<V>) collection);
      }
    
      // Following Javadoc copied from SetMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedSet(key, (Set<V>) collection);
      }
    
      // Following Javadoc copied from SetMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * given collection in the order returned by the collection's iterator.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates)
       */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create(
          Collection<? extends E> collection) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Provider;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableAsList.java

      @J2ktIncompatible
      static class SerializedForm implements Serializable {
        final ImmutableCollection<?> collection;
    
        SerializedForm(ImmutableCollection<?> collection) {
          this.collection = collection;
        }
    
        Object readResolve() {
          return collection.asList();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link Multimap#putAll(Object, Iterable)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    
    import static java.util.Collections.singleton;
    import static org.apache.maven.model.building.ModelProblem.Severity.ERROR;
    import static org.apache.maven.model.building.ModelProblem.Severity.FATAL;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

                    }
                    snapshotMetadata.bind(artifact);
                }
            }
    
            return Collections.emptyList();
        }
    
        @Override
        public Artifact transformArtifact(Artifact artifact) {
            return artifact;
        }
    
        @Override
        public Collection<? extends Metadata> finish(Collection<? extends Artifact> artifacts) {
            return snapshots.values();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code retainAll} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top