Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 1,333 for Collections (1.5 sec)

  1. guava/src/com/google/common/primitives/ImmutableIntArray.java

      public static ImmutableIntArray copyOf(Collection<Integer> values) {
        return values.isEmpty() ? EMPTY : new ImmutableIntArray(Ints.toArray(values));
      }
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
       * <p><b>Performance note:</b> this method delegates to {@link #copyOf(Collection)} if {@code
       * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

        /**
         * Returns the element type if the parameter type of the method is a parameterized {@link Collection}.
         *
         * @param index
         *            The index of the parameter
         * @return The element type if the parameter type is a parameterized {@link Collection}, otherwise {@literal null}
         */
        Class<?> getElementClassOfCollection(int index);
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

    import org.apache.logging.log4j.Logger;
    
    /**
     * Factory class for managing and organizing document ingesters.
     * The factory maintains a sorted collection of ingesters based on their priority
     * and provides methods to add new ingesters and retrieve the current collection.
     *
     * Ingesters are automatically sorted by priority, with lower numbers having higher priority.
     */
    public class IngestFactory {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

      public ForMapMultimapAsMapImplementsMapTest() {
        super(true, true, true);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Map<String, Integer> map = new HashMap<>();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = new HashMap<>();
        map.put("foo", 1);
        map.put("bar", 2);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                }
            }
        }
    
        @Override
        public void close() {}
    
        @Override
        public void get(
                Collection<? extends ArtifactDownload> artifactDownloads,
                Collection<? extends MetadataDownload> metadataDownloads) {
            if (artifactDownloads != null) {
                for (ArtifactDownload download : artifactDownloads) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

      }
    
      private static final List<Method> PQ_SUPPRESS = asList(getCreateWithNullUnsupportedMethod());
    
      @Override
      protected Collection<Method> suppressForPriorityBlockingQueue() {
        return PQ_SUPPRESS;
      }
    
      @Override
      protected Collection<Method> suppressForPriorityQueue() {
        return PQ_SUPPRESS;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> {
      protected final Multiset<E> getMultiset() {
        return (Multiset<E>) collection;
      }
    
      protected void initThreeCopies() {
        collection = getSubjectGenerator().create(e0(), e0(), e0());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesNotRejected() {
        E[] array = createArrayWithNullElement();
        array[0] = null;
        collection = getSubjectGenerator().create(array);
    
        List<E> expectedWithDuplicateRemoved = asList(array).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

    package org.apache.maven.repository.internal;
    
    import java.util.stream.Collectors;
    
    import org.apache.maven.model.Plugin;
    import org.eclipse.aether.RequestTrace;
    import org.eclipse.aether.collection.CollectRequest;
    import org.eclipse.aether.collection.CollectStepData;
    import org.eclipse.aether.resolution.ArtifactDescriptorRequest;
    import org.eclipse.aether.resolution.ArtifactRequest;
    import org.eclipse.aether.resolution.DependencyRequest;
    
    /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesNotRejected() {
        E[] array = createArrayWithNullElement();
        array[0] = null;
        collection = getSubjectGenerator().create(array);
    
        List<E> expectedWithDuplicateRemoved = asList(array).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top