Package | Description |
---|---|
java8.util |
Provides some of the new
java.util classes and implementations
of static and default interface methods added in Java 8. |
java8.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
Modifier and Type | Method and Description |
---|---|
static PrimitiveIterator.OfLong |
Spliterators.iterator(Spliterator.OfLong spliterator)
Creates an
PrimitiveIterator.OfLong from a
Spliterator.OfLong . |
Modifier and Type | Method and Description |
---|---|
static void |
Iterators.forEachRemaining(PrimitiveIterator.OfLong it,
LongConsumer action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
static Spliterator.OfLong |
Spliterators.spliterator(PrimitiveIterator.OfLong iterator,
long size,
int characteristics)
Creates a
Spliterator.OfLong using a given
LongStream.LongIterator as the source of elements, and with a
given initially reported size. |
static Spliterator.OfLong |
Spliterators.spliteratorUnknownSize(PrimitiveIterator.OfLong iterator,
int characteristics)
Creates a
Spliterator.OfLong using a given
LongStream.LongIterator as the source of elements, with no
initial size estimate. |
Modifier and Type | Method and Description |
---|---|
PrimitiveIterator.OfLong |
LongStream.iterator() |
Copyright © 2016. All rights reserved.