Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
java.util.stream |
java.util.stream
|
Modifier and Type | Method and Description |
---|---|
default IntStream |
CharSequence.chars()
Returns a stream of
int zero-extending the char values
from this sequence. |
default IntStream |
CharSequence.codePoints()
Returns a stream of code point values from this sequence.
|
Modifier and Type | Method and Description |
---|---|
IntStream |
Random.ints()
Returns a stream of pseudorandom, uniformly distributed
integer values from this random number generator's
sequence. |
IntStream |
BitSet.stream()
Returns a stream of indices for which this
BitSet
contains a bit in the set state. |
static IntStream |
Arrays.stream(int[] array)
Returns a sequential
IntStream with the specified array as its
source. |
static IntStream |
Arrays.stream(int[] array,
int startInclusive,
int endExclusive)
Returns a sequential
IntStream with the specified range of the
specified array as its source. |
Modifier and Type | Method and Description |
---|---|
IntStream |
ThreadLocalRandom.ints() |
Modifier and Type | Method and Description |
---|---|
IntStream |
StreamBuilder.OfInt.build()
Builds the stream, transitioning this builder to the built state.
|
IntStream |
IntStream.distinct()
Returns a stream consisting of the distinct elements of this stream.
|
static IntStream |
IntStream.empty()
Returns an empty sequential
IntStream . |
IntStream |
IntStream.filter(IntPredicate predicate)
Returns a stream consisting of the elements of this stream that match
the given predicate.
|
IntStream |
IntStream.flatMap(IntFunction<? extends IntStream> mapper)
Returns a stream consisting of the results of replacing each element of
this stream with the contents of the stream produced by applying the
provided mapping function to each element.
|
IntStream |
DelegatingStream.flatMapToInt(Function<? super T,? extends IntStream> mapper) |
IntStream |
Stream.flatMapToInt(Function<? super T,? extends IntStream> mapper)
Returns an
IntStream consisting of the results of replacing each
element of this stream with the contents of the stream produced by
applying the provided mapping function to each element. |
static IntStream |
IntStream.generate(IntSupplier s)
Returns a sequential
IntStream where each element is
generated by an IntSupplier . |
static IntStream |
StreamSupport.intParallelStream(Spliterator.OfInt spliterator)
Creates a new parallel
IntStream from a Spliterator.OfInt . |
static IntStream |
StreamSupport.intParallelStream(Supplier<? extends Spliterator.OfInt> supplier,
int characteristics)
Creates a new parallel
IntStream from a Supplier of
Spliterator.OfInt . |
static IntStream |
StreamSupport.intStream(Spliterator.OfInt spliterator)
Creates a new sequential
IntStream from a Spliterator.OfInt . |
static IntStream |
StreamSupport.intStream(Supplier<? extends Spliterator.OfInt> supplier,
int characteristics)
Creates a new sequential
IntStream from a Supplier of
Spliterator.OfInt . |
static IntStream |
IntStream.iterate(int seed,
IntUnaryOperator f)
Returns an infinite sequential
IntStream 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. |
IntStream |
IntStream.limit(long maxSize)
Returns a stream consisting of the elements of this stream, truncated
to be no longer than
maxSize in length. |
IntStream |
IntStream.map(IntUnaryOperator mapper)
Returns a stream consisting of the results of applying the given
function to the elements of this stream.
|
IntStream |
DoubleStream.mapToInt(DoubleToIntFunction mapper)
Returns an
IntStream consisting of the results of applying the
given function to the elements of this stream. |
IntStream |
LongStream.mapToInt(LongToIntFunction mapper)
Returns an
IntStream consisting of the results of applying the
given function to the elements of this stream. |
IntStream |
DelegatingStream.mapToInt(ToIntFunction<? super T> mapper) |
IntStream |
Stream.mapToInt(ToIntFunction<? super T> mapper)
Returns an
IntStream consisting of the results of applying the
given function to the elements of this stream. |
static IntStream |
IntStream.of(int... values)
Returns a sequential stream whose elements are the specified values.
|
static IntStream |
IntStream.of(int t)
Returns a sequential
IntStream containing a single element. |
IntStream |
IntStream.parallel() |
IntStream |
IntStream.peek(IntConsumer consumer)
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.
|
static IntStream |
IntStream.range(int startInclusive,
int endExclusive)
Returns a sequential
IntStream from startInclusive
(inclusive) to endExclusive (exclusive) by an incremental step of
1. |
static IntStream |
IntStream.range(int startInclusive,
int endExclusive,
int step)
Returns a sequential
IntStream from startInclusive
(inclusive) to endExclusive (exclusive) by a positive step . |
IntStream |
IntStream.sequential() |
IntStream |
IntStream.sorted()
Returns a stream consisting of the elements of this stream in sorted
order.
|
IntStream |
IntStream.substream(long startInclusive)
Returns a stream consisting of the remaining elements of this stream
after indexing
startInclusive elements into the stream. |
IntStream |
IntStream.substream(long startInclusive,
long endExclusive)
Returns a stream consisting of the remaining elements of this stream
after indexing
startInclusive elements into the stream and
truncated to contain no more than endExclusive - startInclusive
elements. |
Modifier and Type | Method and Description |
---|---|
IntStream |
IntStream.flatMap(IntFunction<? extends IntStream> mapper)
Returns a stream consisting of the results of replacing each element of
this stream with the contents of the stream produced by applying the
provided mapping function to each element.
|
IntStream |
DelegatingStream.flatMapToInt(Function<? super T,? extends IntStream> mapper) |
IntStream |
Stream.flatMapToInt(Function<? super T,? extends IntStream> mapper)
Returns an
IntStream consisting of the results of replacing each
element of this stream with the contents of the stream produced by
applying the provided mapping function to each element. |
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b92