- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 682 for Stream (0.14 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java
private final List<Object> keys; private final String type; Key(Collection<WorkspaceReader> readers) { keys = readers.stream().map(r -> r.getRepository().getKey()).collect(Collectors.toList()); type = readers.stream().map(r -> r.getRepository().getContentType()).collect(Collectors.joining("+")); } public String getContentType() { return type;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
@J2ktIncompatible @GwtIncompatible public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput { /** * Creates a {@code LittleEndianDataOutputStream} that wraps the given stream. * * @param out the stream to delegate to */ public LittleEndianDataOutputStream(OutputStream out) { super(new DataOutputStream(Preconditions.checkNotNull(out))); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 5.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
.proxies(request.getProxies().stream().map(Proxy::getDelegate).collect(Collectors.toList())) .servers(request.getServers().stream().map(Server::getDelegate).collect(Collectors.toList())) .mirrors(request.getMirrors().stream().map(Mirror::getDelegate).collect(Collectors.toList())) .profiles(request.getProfiles().stream() .map(Profile::getDelegate)
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java
package org.apache.maven.lifecycle; import javax.inject.Inject; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.apache.maven.internal.impl.DefaultLifecycleRegistry; import org.apache.maven.internal.impl.DefaultLookup; import org.codehaus.plexus.PlexusContainer;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* * <p>For example: * * {@snippet : * Stream.of("foo", "quux", "banana", "elephant") * .collect(least(2, comparingInt(String::length))) * // returns {"foo", "quux"} * } * * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(nCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java
*/ int getColumnNumber(); /** * Return the byte or character offset into the input source this location * is pointing to. If the input source is a file or a byte stream then * this is the byte offset into that stream, but if the input source is * a character media then the offset is the character offset. * Returns -1 if there is no offset available. * @return the current offset */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java
* under the License. */ package org.apache.maven.internal.impl; import java.util.Collection; import java.util.List; import java.util.Objects; import java.util.function.Function; import java.util.stream.Collectors; class CoreUtils { public static <T> T cast(Class<T> clazz, Object o, String name) { if (!clazz.isInstance(o)) { if (o == null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 22:23:23 GMT 2025 - 1.5K bytes - Click Count (0) -
fastapi/responses.py
class UJSONResponse(JSONResponse): """ JSON response using the high-performance ujson library to serialize data to JSON. Read more about it in the [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/). """ def render(self, content: Any) -> bytes: assert ujson is not None, "ujson must be installed to use UJSONResponse"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 18 12:36:40 GMT 2023 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code * asList()} view. * * <p><b>Java 8+ users:</b> If you want to convert a {@link java.util.stream.Stream} to a sorted * {@code ImmutableList}, use {@code stream.sorted().collect(toImmutableList())}. * * @throws NullPointerException if any element in the input is null * @since 21.0 */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.project.harness; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.apache.commons.jxpath.ri.QName; import org.apache.commons.jxpath.ri.model.NodeIterator; import org.apache.commons.jxpath.ri.model.NodePointer; import org.apache.maven.api.xml.XmlNode; /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.3K bytes - Click Count (0)