Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 796 for Stream$ (0.05 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

        private final List<Object> objects;
    
        public SimpleLookup(List<Object> objects) {
            this.objects = objects;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
                    .filter(type::isInstance)
                    .map(type::cast)
                    .findAny()
                    .orElseThrow(() -> new LookupException("No service of type " + type));
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

            super(settings, location);
        }
    
        /**
         * Gets the character sequence of this settings source.
         *
         * @return The underlying character stream, never {@code null}.
         * @deprecated instead use {@link #getContent()}
         */
        @Deprecated
        public String getSettings() {
            return getContent();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

    import java.io.*;
    import java.net.*;
    import java.util.*;
    
    import jcifs.smb1.util.LogStream;
    
    /**
     * This class simplifies communication for protocols that support
     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Collection;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilder.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.nio.file.Path;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.building.ModelBuildingException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/testdata/routes/k8s-gateway-http-route-path-prefix/configdump.json

              },
              "route": {
               "cluster": "outbound|8000||httpbin.default.svc.cluster.local",
               "timeout": "0s",
               "retry_policy": {
                "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                "num_retries": 2,
                "retry_host_predicate": [
                 {
                  "name": "envoy.retry_host_predicates.previous_hosts",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetsTest.java

    import java.util.Set;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import java.util.concurrent.CopyOnWriteArraySet;
    import java.util.function.BiConsumer;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@code Sets}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                return OK;
            }
            config.setDefaultDispatcher(result.get("defaultDispatcher").getResult());
    
            DispatcherMeta meta = secDispatcher.availableDispatchers().stream()
                    .filter(d -> Objects.equals(config.getDefaultDispatcher(), d.name()))
                    .findFirst()
                    .orElseThrow();
            if (!meta.fields().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            }
    
            return new StreamResponse(osddFile.getName()).contentType(contentType + "; charset=" + encoding).stream(out -> {
                try (InputStream ins = new FileInputStream(osddFile)) {
                    out.write(ins);
                }
            });
        }
    
        public void setOsddPath(final String osddPath) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top