Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 1,122 for Collection (0.21 seconds)

  1. guava/src/com/google/common/base/MoreObjects.java

          // Put types estimated to be the most frequent first.
          if (value instanceof CharSequence) {
            return ((CharSequence) value).length() == 0;
          } else if (value instanceof Collection) {
            return ((Collection<?>) value).isEmpty();
          } else if (value instanceof Map) {
            return ((Map<?, ?>) value).isEmpty();
          } else if (value instanceof java.util.Optional) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvn;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.function.UnaryOperator;
    
    import org.apache.maven.api.cli.mvn.MavenOptions;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

        }
    
        /**
         * The root directory of all documentation inputs
         */
        public abstract DirectoryProperty getSourceRoot();
    
        /**
         * Collection of CSS files to include in generated documentation.
         */
        public abstract ConfigurableFileCollection getCssFiles();
    
        /**
         * The source code to be documented. This should be the "public" APIs.
         */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link ListMultimap#remove(Object, Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.List;
    
    import org.apache.commons.cli.Option;
    import org.junit.jupiter.api.Test;
    
    import static java.util.Objects.nonNull;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

      }
    
      public void testOrderedAsMapEntries() {
        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator();
        Entry<String, Collection<Integer>> entry = iterator.next();
        assertEquals(null, entry.getKey());
        assertThat(entry.getValue()).containsExactly(7, 3, 1);
        entry = iterator.next();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import java.io.File;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Date;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.artifact.repository.metadata.Snapshot;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
     * collection will not correctly obey its specification.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation. The model
         * identifier should be from the collection obtained by {@link #getModelIds()}. As a special case, an empty string
         * can be used as the identifier for the super POM.
         *
         * @param modelId The identifier of the desired raw model, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/TreeRangeMap.java

            };
          }
    
          @Override
          public Collection<V> values() {
            return new Maps.Values<Range<K>, V>(this) {
              @Override
              public boolean removeAll(Collection<?> c) {
                return removeEntryIf(compose(in(c), Entry::getValue));
              }
    
              @Override
              public boolean retainAll(Collection<?> c) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 26.5K bytes
    - Click Count (0)
Back to Top