Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 1,122 for Collection (0.09 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

    import java.lang.reflect.Method;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a collection. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

            public Object[] toArray() {
              /*
               * standardToArray returns `@Nullable Object[]` rather than `Object[]` but only because it
               * can be used with collections that may contain null. This collection is a collection of
               * non-null Entry objects (Entry objects that might contain null values but are not
               * themselves null), so we can treat it as a plain `Object[]`.
               */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

    import java.util.Arrays;
    import java.util.List;
    
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.collection.CollectRequest;
    import org.eclipse.aether.collection.CollectResult;
    import org.eclipse.aether.graph.Dependency;
    import org.eclipse.aether.graph.DependencyNode;
    import org.eclipse.aether.resolution.ArtifactDescriptorRequest;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Class that contains nested abstract tests for filtered collection views, along with their
     * implementation helpers.
     *
     * @author Louis Wasserman
     */
    /*
     * TODO(cpovirk): Should all the tests for filtered collections run under GWT, too? Currently, they
     * don't.
     */
    @NullUnmarked
    public final class FilteredCollectionsTestUtil {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.util.Collection;
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of ImmutableMultiset backed by a JDK Map and a list of entries. Used to protect
     * against hash flooding attacks.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.AbstractMapTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /** Skeleton for a tester of a {@code BiMap}. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ForwardingMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ProjectScopeProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomProjectScopeProvider implements ProjectScopeProvider {
     *     public Collection&lt;ProjectScope&gt; provides() {
     *         return Collections.singleton(projectScope("integration-test"));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.ProjectScope
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            });
    
            List<Profile> profiles = Collections.singletonList(newProfile("one"));
            DefaultProfileActivationContext context = new DefaultProfileActivationContext();
            SimpleProblemCollector problems = new SimpleProblemCollector();
            List<Profile> active = selector.getActiveProfiles(profiles, context, problems);
            assertTrue(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Streams.java

       */
      @Deprecated
      @InlineMe(replacement = "collection.stream()")
      public static <T extends @Nullable Object> Stream<T> stream(Collection<T> collection) {
        return collection.stream();
      }
    
      /**
       * Returns a sequential {@link Stream} of the remaining contents of {@code iterator}. Do not use
       * {@code iterator} directly after passing it to this method.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 36.4K bytes
    - Click Count (0)
Back to Top