Java stream return object

Uses of Interface
java.util.stream.Stream

Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.

Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.

Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language.

Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.

Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.

This package contains classes and interfaces that support a generic API for random number generation.

Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.

Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate «snippets» of Java programming language code.

Uses of Stream in java.io

Uses of Stream in java.lang

Applies the given function to the stream of StackFrame s for the current thread, traversing from the top frame of the stack, which is the method calling this walk method.

Uses of Stream in java.lang.module

Lists the contents of the module, returning a stream of elements that are the names of all resources in the module.

Uses of Stream in java.net

Get a Stream of all subinterfaces (also known as virtual interfaces) attached to this network interface.

Uses of Stream in java.net.http

Returns a BodySubscriber which streams the response body as a Stream , where each string in the stream corresponds to a line as defined by BufferedReader.lines() .

Uses of Stream in java.nio.file

Return a Stream that is lazily populated with Path by searching for files in a file tree rooted at a given starting file.

Читайте также:  table-layout

Return a Stream that is lazily populated with Path by walking the file tree rooted at a given starting file.

Return a Stream that is lazily populated with Path by walking the file tree rooted at a given starting file.

Uses of Stream in java.security

Uses of Stream in java.sql

Retrieves a Stream with all of the currently loaded JDBC drivers to which the current caller has access.

Uses of Stream in java.time

Uses of Stream in java.util

Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the RandomGenerator.SplittableGenerator interface.

Returns a stream producing the given streamSize number of new pseudorandom number generators, each of which implements the RandomGenerator.SplittableGenerator interface.

Returns a stream producing the given streamSize number of new pseudorandom number generators, each of which implements the RandomGenerator.SplittableGenerator interface.

Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the RandomGenerator.SplittableGenerator interface.

If a value is present, returns a sequential Stream containing only that value, otherwise returns an empty Stream .

Uses of Stream in java.util.jar

Uses of Stream in java.util.random

Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the RandomGenerator.ArbitrarilyJumpableGenerator interface, produced by jumping copies of this generator by different integer multiples of the specified jump distance.

Returns a stream producing the given streamSize number of new pseudorandom number generators, each of which implements the RandomGenerator.ArbitrarilyJumpableGenerator interface, produced by jumping copies of this generator by different integer multiples of the specified jump distance.

Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the RandomGenerator interface.

Returns a stream producing the given streamSize number of new pseudorandom number generators, each of which implements the RandomGenerator interface.

Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the RandomGenerator.JumpableGenerator interface.

Returns a stream producing the given streamSize number of new pseudorandom number generators, each of which implements the RandomGenerator.JumpableGenerator interface.

Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the RandomGenerator interface.

Returns a stream producing the given streamSize number of new pseudorandom number generators, each of which implements the RandomGenerator interface.

Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the RandomGenerator interface.

Returns a stream producing the given streamSize number of new pseudorandom number generators, each of which implements the RandomGenerator interface.

Читайте также:  Конструкция do while javascript

Returns an effectively unlimited stream of objects, each of which implements the RandomGenerator interface.

Returns an effectively unlimited stream of objects, each of which implements the RandomGenerator interface.

Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the RandomGenerator.SplittableGenerator interface.

Returns a stream producing the given streamSize number of new pseudorandom number generators, each of which implements the RandomGenerator.SplittableGenerator interface.

RandomGenerator.SplittableGenerator. splits (long streamSize, RandomGenerator.SplittableGenerator source)

Returns a stream producing the given streamSize number of new pseudorandom number generators, each of which implements the RandomGenerator.SplittableGenerator interface.

Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the RandomGenerator.SplittableGenerator interface.

Uses of Stream in java.util.regex

Returns a stream of match results for each subsequence of the input sequence that matches the pattern.

Uses of Stream in java.util.stream

Creates a lazily concatenated stream whose elements are all the elements of the first stream followed by all the elements of the second stream.

Returns a stream consisting of the distinct elements (according to Object.equals(Object) ) of this stream.

Returns, if this stream is ordered, a stream consisting of the remaining elements of this stream after dropping the longest prefix of elements that match the given predicate.

Returns a stream consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.

Returns an infinite sequential unordered stream where each element is generated by the provided Supplier .

Returns a sequential ordered Stream produced by iterative application of the given next function to an initial element, conditioned on satisfying the given hasNext predicate.

Returns an infinite sequential ordered Stream produced by iterative application of a function f to an initial element seed , producing a Stream consisting of seed , f(seed) , f(f(seed)) , etc.

Returns a stream consisting of the elements of this stream, truncated to be no longer than maxSize in length.

Returns a stream consisting of the results of applying the given function to the elements of this stream.

Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.

Returns an object-valued Stream consisting of the results of applying the given function to the elements of this stream.

Returns an object-valued Stream consisting of the results of applying the given function to the elements of this stream.

Читайте также:  Setting Font Size

Returns an object-valued Stream consisting of the results of applying the given function to the elements of this stream.

Returns a sequential Stream containing a single element, if non-null, otherwise returns an empty Stream .

Returns a stream consisting of the elements of this stream, additionally performing the provided action on each element as elements are consumed from the resulting stream.

Returns a stream consisting of the remaining elements of this stream after discarding the first n elements of the stream.

Returns a stream consisting of the elements of this stream, sorted according to the provided Comparator .

Returns, if this stream is ordered, a stream consisting of the longest prefix of elements taken from this stream that match the given predicate.

Creates a lazily concatenated stream whose elements are all the elements of the first stream followed by all the elements of the second stream.

Returns a stream consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.

Adapts a Collector accepting elements of type U to one accepting elements of type T by applying a flat mapping function to each input element before accumulation.

Uses of Stream in java.util.zip

Uses of Stream in javax.xml.catalog

Returns a sequential Stream of alternative Catalogs specified using the nextCatalog entries in the current catalog, and as the input of catalog files excluding the current catalog (that is, the first in the input list) when the Catalog object is created by the CatalogManager .

Uses of Stream in jdk.incubator.foreign

Returns a sequential Stream over disjoint slices (whose size matches that of the specified layout) in this segment.

Uses of Stream in jdk.jshell

For RECOVERABLE_DEFINED or RECOVERABLE_NOT_DEFINED declarations, the names of current unresolved dependencies for the snippet.

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

Источник

Оцените статью