Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 877 for Collections2 (0.08 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    
    class Graph {
        private enum DfsState {
            VISITING,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.IOException;
    import java.net.ConnectException;
    import java.net.UnknownHostException;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.IdentityHashMap;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.api.plugin.MojoException;
    import org.apache.maven.lifecycle.LifecycleExecutionException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. docs_src/custom_request_and_route/tutorial001_an_py310.py

    import gzip
    from collections.abc import Callable
    from typing import Annotated
    
    from fastapi import Body, FastAPI, Request, Response
    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1015 bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java

     * Immutable identifier of a {@link TransferResource}.
     * The {@link TransferResource} is not immutable and does not implement {@code Objects#equals} and {@code Objects#hashCode} methods,
     * making it not very suitable for usage in collections.
     */
    @Deprecated
    record TransferResourceIdentifier(
            String repositoryId,
            String repositoryUrl,
            String resourceName,
            @Nullable File file) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. fastapi/background.py

    from collections.abc import Callable
    from typing import Annotated, Any
    
    from annotated_doc import Doc
    from starlette.background import BackgroundTasks as StarletteBackgroundTasks
    from typing_extensions import ParamSpec
    
    P = ParamSpec("P")
    
    
    class BackgroundTasks(StarletteBackgroundTasks):
        """
        A collection of background tasks that will be called after a response has been
        sent to the client.
    
        Read more about it in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

    import com.google.common.collect.testing.TestSetGenerator;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.Feature;
    import java.util.Collections;
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.graph;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Set;
    import java.util.stream.Collectors;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker;
    
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Consumer;
    
    import org.apache.maven.api.ProtoSession;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. docs_src/stream_json_lines/tutorial001_py310.py

    from collections.abc import AsyncIterable, Iterable
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None
    
    
    items = [
        Item(name="Plumbus", description="A multi-purpose household device."),
        Item(name="Portal Gun", description="A portal opening device."),
        Item(name="Meeseeks Box", description="A box that summons a Meeseeks."),
    ]
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 936 bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/PathValidator.java

        }
    
        /**
         * Get blacklisted paths
         */
        public Set<String> getBlacklistedPaths() {
            return Collections.unmodifiableSet(blacklistedPaths);
        }
    
        /**
         * Get whitelisted paths
         */
        public Set<String> getWhitelistedPaths() {
            return Collections.unmodifiableSet(whitelistedPaths);
        }
    
        /**
         * Clear all blacklisted paths
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
Back to Top