Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,740 for collection (0.15 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * transitive dependencies and does not actually resolve the artifact files.
         *
         * @param request the dependency collection request, must not be {@code null}
         * @return the collection result, never {@code null}
         * @throws DependencyResolverException if the dependency tree could not be built
         * @throws IllegalArgumentException if an argument is null or invalid
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          K key, V value) {
        return singletonMap(key, value).entrySet().iterator().next();
      }
    
      private static boolean isEmpty(Iterable<?> iterable) {
        return iterable instanceof Collection
            ? ((Collection<?>) iterable).isEmpty()
            : !iterable.iterator().hasNext();
      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

        return new OpenJdk6SetTests().allTests();
      }
    
      @Override
      protected Collection<Method> suppressForTreeSetNatural() {
        return asList(
            getAddNullUnsupportedMethod(),
            getAddAllNullUnsupportedMethod(),
            getCreateWithNullUnsupportedMethod());
      }
    
      @Override
      protected Collection<Method> suppressForCheckedSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultTypeProvider.java

        @SuppressWarnings({"rawtypes", "unchecked"})
        @Override
        public Collection<Type> provides() {
            return (Collection) types();
        }
    
        public Collection<DefaultType> types() {
            return Arrays.asList(
                    // Maven types
                    new DefaultType(Type.POM, Language.NONE, "pom", null, false),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                initialSettings.forEach((key, value) -> {
                    if (value instanceof Collection) {
                        @SuppressWarnings("unchecked")
                        final Collection<Object> collection = (Collection<Object>) value;
                        collection.forEach(element -> arraySettings.add(new Tuple<>(key, element)));
                    } else if (value instanceof Object[]) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

    import com.google.common.collect.testing.features.Feature;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Collection tests for {@link Table} implementations.
     *
     * @author Jared Levy
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TableCollectionTest.java

    import com.google.common.collect.testing.features.Feature;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Collection tests for {@link Table} implementations.
     *
     * @author Jared Levy
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java

         * @param artifacts the collection of artifacts to deploy
         * @throws ArtifactDeployerException if the deployment failed
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         */
        default void deploy(
                @Nonnull Session session,
                @Nonnull RemoteRepository repository,
                @Nonnull Collection<ProducedArtifact> artifacts) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      }
    
      private void assertCollectionSize(Collection<?> collection, int size) {
        assertEquals(size, collection.size());
        if (size > 0) {
          assertFalse(collection.isEmpty());
        } else {
          assertTrue(collection.isEmpty());
        }
        assertEquals(size, Iterables.size(collection));
        assertEquals(size, Iterators.size(collection.iterator()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top