Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 877 for Collections2 (0.07 seconds)

  1. android/guava/src/com/google/common/base/Absent.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /** Implementation of an {@link Optional} not containing a reference. */
    @GwtCompatible
    final class Absent<T> extends Optional<T> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.Multisets.UnmodifiableMultiset;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multisets#unmodifiableSortedMultiset(SortedMultiset)} for GWT.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

    import static java.util.Arrays.asList;
    import static java.util.Collections.singleton;
    import static java.util.Comparator.comparing;
    import static java.util.Comparator.naturalOrder;
    import static java.util.Comparator.reverseOrder;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.testing.EqualsTester;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Optional;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableCollection.java

     *     this.codes = ImmutableSet.copyOf(codes);
     *     checkArgument(Collections.disjoint(this.codes, RESERVED_CODES));
     *   }
     * }
     * }
     *
     * <h3>See also</h3>
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @since 2.0
     */
    @DoNotMock("Use ImmutableList.of or another implementation")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/SetWithResolutionResult.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.AbstractSet;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.project.DependencyResolutionResult;
    import org.apache.maven.project.artifact.ProjectArtifactsCache;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        public void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories) {
            if (mirroredRepositories != null) {
                this.mirroredRepositories = Collections.unmodifiableList(mirroredRepositories);
            } else {
                this.mirroredRepositories = Collections.emptyList();
            }
        }
    
        @Override
        public boolean isBlocked() {
            return blocked;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository;
    
    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildListCalculator.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.internal.builder.BuilderCommon;
    import org.apache.maven.project.MavenProject;
    
    /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  9. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

     * limitations under the License.
     */
    
    package okhttp3.java.net.cookiejar
    
    import java.io.IOException
    import java.net.CookieHandler
    import java.net.HttpCookie
    import java.util.Collections
    import okhttp3.Cookie
    import okhttp3.CookieJar
    import okhttp3.HttpUrl
    import okhttp3.internal.cookieToString
    import okhttp3.internal.delimiterOffset
    import okhttp3.internal.platform.Platform
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

    import static com.google.common.graph.GraphConstants.EXPECTED_DEGREE;
    
    import com.google.common.collect.BiMap;
    import com.google.common.collect.HashBiMap;
    import com.google.common.collect.ImmutableBiMap;
    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * An implementation of {@link NetworkConnections} for undirected networks.
     *
     * @author James Sexton
     * @param <N> Node parameter type
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top