Nested Classes
static class
An abstract Spliterator.OfDouble
that implements trySplit
to permit limited parallelism.
static class
An abstract Spliterator.OfInt
that implements trySplit
to permit limited parallelism.
static class
An abstract Spliterator.OfLong
that implements trySplit
to permit limited parallelism.
static class
An abstract Spliterator
that implements trySplit
to permit limited parallelism.
Creates an empty Spliterator.OfDouble
Creates an empty Spliterator.OfInt
Creates an empty Spliterator.OfLong
Creates an empty Spliterator
Creates an PrimitiveIterator.OfDouble
from a Spliterator.OfDouble
.
Creates an PrimitiveIterator.OfInt
from a Spliterator.OfInt
.
Creates an PrimitiveIterator.OfLong
from a Spliterator.OfLong
.
Creates an Iterator
from a Spliterator
.
spliterator(double[] array, int additionalCharacteristics)
Creates a Spliterator.OfDouble
covering the elements of a given array, using a customized set of spliterator characteristics.
spliterator(double[] array, int fromIndex, int toIndex, int additionalCharacteristics)
Creates a Spliterator.OfDouble
covering a range of elements of a given array, using a customized set of spliterator characteristics.
spliterator(int[] array, int additionalCharacteristics)
Creates a Spliterator.OfInt
covering the elements of a given array, using a customized set of spliterator characteristics.
spliterator(int[] array, int fromIndex, int toIndex, int additionalCharacteristics)
Creates a Spliterator.OfInt
covering a range of elements of a given array, using a customized set of spliterator characteristics.
spliterator(long[] array, int additionalCharacteristics)
Creates a Spliterator.OfLong
covering the elements of a given array, using a customized set of spliterator characteristics.
spliterator(long[] array, int fromIndex, int toIndex, int additionalCharacteristics)
Creates a Spliterator.OfLong
covering a range of elements of a given array, using a customized set of spliterator characteristics.
Creates a Spliterator
covering the elements of a given array, using a customized set of spliterator characteristics.
spliterator(Object[] array, int fromIndex, int toIndex, int additionalCharacteristics)
Creates a Spliterator
covering a range of elements of a given array, using a customized set of spliterator characteristics.
Creates a Spliterator
using a given Iterator
as the source of elements, and with a given initially reported size.
Creates a Spliterator.OfDouble
using a given DoubleStream.DoubleIterator
as the source of elements, and with a given initially reported size.
Creates a Spliterator.OfInt
using a given IntStream.IntIterator
as the source of elements, and with a given initially reported size.
Creates a Spliterator.OfLong
using a given LongStream.LongIterator
as the source of elements, and with a given initially reported size.
Creates a Spliterator
using a given Iterator
as the source of elements, with no initial size estimate.
Creates a Spliterator.OfDouble
using a given DoubleStream.DoubleIterator
as the source of elements, with no initial size estimate.
Creates a Spliterator.OfInt
using a given IntStream.IntIterator
as the source of elements, with no initial size estimate.
Creates a Spliterator.OfLong
using a given LongStream.LongIterator
as the source of elements, with no initial size estimate.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
T
- Type of elements
Creates a
Spliterator
covering the elements of a given array, using a customized set of spliterator characteristics.
This method is provided as an implementation convenience for Spliterators which store portions of their elements in arrays, and need fine control over Spliterator characteristics. Most other situations in which a Spliterator for an array is needed should use Arrays.spliterator(Object[])
.
The returned spliterator always reports the characteristics SIZED
and SUBSIZED
. The caller may provide additional characteristics for the spliterator to report; it is common to additionally specify IMMUTABLE
and ORDERED
.
T
- Type of elements
array
- The array, assumed to be unmodified during use
additionalCharacteristics
- Additional spliterator characteristics of this spliterator's source or elements beyond SIZED
and SUBSIZED
which are always reported
NullPointerException
- if the given array is null
Creates a
Spliterator
covering a range of elements of a given array, using a customized set of spliterator characteristics.
This method is provided as an implementation convenience for Spliterators which store portions of their elements in arrays, and need fine control over Spliterator characteristics. Most other situations in which a Spliterator for an array is needed should use Arrays.spliterator(Object[])
.
The returned spliterator always reports the characteristics SIZED
and SUBSIZED
. The caller may provide additional characteristics for the spliterator to report; it is common to additionally specify IMMUTABLE
and ORDERED
.
T
- Type of elements
array
- The array, assumed to be unmodified during use
fromIndex
- The least index (inclusive) to cover
toIndex
- One past the greatest index to cover
additionalCharacteristics
- Additional spliterator characteristics of this spliterator's source or elements beyond SIZED
and SUBSIZED
which are always reported
NullPointerException
- if the given array is null
ArrayIndexOutOfBoundsException
- if fromIndex
is negative, toIndex
is less than fromIndex
, or toIndex
is greater than the array size
Creates a
Spliterator.OfInt
covering the elements of a given array, using a customized set of spliterator characteristics.
This method is provided as an implementation convenience for Spliterators which store portions of their elements in arrays, and need fine control over Spliterator characteristics. Most other situations in which a Spliterator for an array is needed should use Arrays.spliterator(int[])
.
The returned spliterator always reports the characteristics SIZED
and SUBSIZED
. The caller may provide additional characteristics for the spliterator to report; it is common to additionally specify IMMUTABLE
and ORDERED
.
array
- The array, assumed to be unmodified during use
additionalCharacteristics
- Additional spliterator characteristics of this spliterator's source or elements beyond SIZED
and SUBSIZED
which are always reported
NullPointerException
- if the given array is null
Creates a
Spliterator.OfInt
covering a range of elements of a given array, using a customized set of spliterator characteristics.
This method is provided as an implementation convenience for Spliterators which store portions of their elements in arrays, and need fine control over Spliterator characteristics. Most other situations in which a Spliterator for an array is needed should use Arrays.spliterator(int[], int, int)
.
The returned spliterator always reports the characteristics SIZED
and SUBSIZED
. The caller may provide additional characteristics for the spliterator to report; it is common to additionally specify IMMUTABLE
and ORDERED
.
array
- The array, assumed to be unmodified during use
fromIndex
- The least index (inclusive) to cover
toIndex
- One past the greatest index to cover
additionalCharacteristics
- Additional spliterator characteristics of this spliterator's source or elements beyond SIZED
and SUBSIZED
which are always reported
NullPointerException
- if the given array is null
ArrayIndexOutOfBoundsException
- if fromIndex
is negative, toIndex
is less than fromIndex
, or toIndex
is greater than the array size
Creates a
Spliterator.OfLong
covering the elements of a given array, using a customized set of spliterator characteristics.
This method is provided as an implementation convenience for Spliterators which store portions of their elements in arrays, and need fine control over Spliterator characteristics. Most other situations in which a Spliterator for an array is needed should use Arrays.spliterator(long[])
.
The returned spliterator always reports the characteristics SIZED
and SUBSIZED
. The caller may provide additional characteristics for the spliterator to report; it is common to additionally specify IMMUTABLE
and ORDERED
.
array
- The array, assumed to be unmodified during use
additionalCharacteristics
- Additional spliterator characteristics of this spliterator's source or elements beyond SIZED
and SUBSIZED
which are always reported
NullPointerException
- if the given array is null
Creates a
Spliterator.OfLong
covering a range of elements of a given array, using a customized set of spliterator characteristics.
This method is provided as an implementation convenience for Spliterators which store portions of their elements in arrays, and need fine control over Spliterator characteristics. Most other situations in which a Spliterator for an array is needed should use Arrays.spliterator(long[], int, int)
.
The returned spliterator always reports the characteristics SIZED
and SUBSIZED
. The caller may provide additional characteristics for the spliterator to report. (For example, if it is known the array will not be further modified, specify IMMUTABLE
; if the array data is considered to have an encounter order, specify ORDERED
). The method Arrays.spliterator(long[], int, int)
can often be used instead, which returns a spliterator that reports SIZED
, SUBSIZED
, IMMUTABLE
, and ORDERED
.
array
- The array, assumed to be unmodified during use
fromIndex
- The least index (inclusive) to cover
toIndex
- One past the greatest index to cover
additionalCharacteristics
- Additional spliterator characteristics of this spliterator's source or elements beyond SIZED
and SUBSIZED
which are always reported
NullPointerException
- if the given array is null
ArrayIndexOutOfBoundsException
- if fromIndex
is negative, toIndex
is less than fromIndex
, or toIndex
is greater than the array size
Creates a
Spliterator.OfDouble
covering the elements of a given array, using a customized set of spliterator characteristics.
This method is provided as an implementation convenience for Spliterators which store portions of their elements in arrays, and need fine control over Spliterator characteristics. Most other situations in which a Spliterator for an array is needed should use Arrays.spliterator(double[])
.
The returned spliterator always reports the characteristics SIZED
and SUBSIZED
. The caller may provide additional characteristics for the spliterator to report; it is common to additionally specify IMMUTABLE
and ORDERED
.
array
- The array, assumed to be unmodified during use
additionalCharacteristics
- Additional spliterator characteristics of this spliterator's source or elements beyond SIZED
and SUBSIZED
which are always reported
NullPointerException
- if the given array is null
Creates a
Spliterator.OfDouble
covering a range of elements of a given array, using a customized set of spliterator characteristics.
This method is provided as an implementation convenience for Spliterators which store portions of their elements in arrays, and need fine control over Spliterator characteristics. Most other situations in which a Spliterator for an array is needed should use Arrays.spliterator(double[], int, int)
.
The returned spliterator always reports the characteristics SIZED
and SUBSIZED
. The caller may provide additional characteristics for the spliterator to report. (For example, if it is known the array will not be further modified, specify IMMUTABLE
; if the array data is considered to have an encounter order, specify ORDERED
). The method Arrays.spliterator(long[], int, int)
can often be used instead, which returns a spliterator that reports SIZED
, SUBSIZED
, IMMUTABLE
, and ORDERED
.
array
- The array, assumed to be unmodified during use
fromIndex
- The least index (inclusive) to cover
toIndex
- One past the greatest index to cover
additionalCharacteristics
- Additional spliterator characteristics of this spliterator's source or elements beyond SIZED
and SUBSIZED
which are always reported
NullPointerException
- if the given array is null
ArrayIndexOutOfBoundsException
- if fromIndex
is negative, toIndex
is less than fromIndex
, or toIndex
is greater than the array size
Creates a
Spliterator
using the given collection's
Collection.iterator()
as the source of elements, and reporting its
Collection.size()
as its initial size.
The spliterator is late-binding, inherits the fail-fast properties of the collection's iterator, and implements trySplit
to permit limited parallelism.
T
- Type of elements
c
- The collection
characteristics
- Characteristics of this spliterator's source or elements. The characteristics SIZED
and SUBSIZED
are additionally reported unless CONCURRENT
is supplied.
NullPointerException
- if the given collection is null
Creates a
Spliterator
using a given
Iterator
as the source of elements, and with a given initially reported size.
The spliterator is not late-binding, inherits the fail-fast properties of the iterator, and implements trySplit
to permit limited parallelism.
Traversal of elements should be accomplished through the spliterator. The behaviour of splitting and traversal is undefined if the iterator is operated on after the spliterator is returned, or the initially reported size is not equal to the actual number of elements in the source.
T
- Type of elements
iterator
- The iterator for the source
size
- The number of elements in the source, to be reported as initial estimateSize
characteristics
- Characteristics of this spliterator's source or elements. The characteristics SIZED
and SUBSIZED
are additionally reported unless CONCURRENT
is supplied.
NullPointerException
- if the given iterator is null
Creates a
Spliterator
using a given
Iterator
as the source of elements, with no initial size estimate.
The spliterator is not late-binding, inherits the fail-fast properties of the iterator, and implements trySplit
to permit limited parallelism.
Traversal of elements should be accomplished through the spliterator. The behaviour of splitting and traversal is undefined if the iterator is operated on after the spliterator is returned.
T
- Type of elements
iterator
- The iterator for the source
characteristics
- Characteristics of this spliterator's source or elements (SIZED
and SUBSIZED
, if supplied, are ignored and are not reported.)
NullPointerException
- if the given iterator is null
Creates a
Spliterator.OfInt
using a given
IntStream.IntIterator
as the source of elements, and with a given initially reported size.
The spliterator is not late-binding, inherits the fail-fast properties of the iterator, and implements trySplit
to permit limited parallelism.
Traversal of elements should be accomplished through the spliterator. The behaviour of splitting and traversal is undefined if the iterator is operated on after the spliterator is returned, or the initially reported size is not equal to the actual number of elements in the source.
iterator
- The iterator for the source
size
- The number of elements in the source, to be reported as initial estimateSize
.
characteristics
- Characteristics of this spliterator's source or elements. The characteristics SIZED
and SUBSIZED
are additionally reported unless CONCURRENT
is supplied.
NullPointerException
- if the given iterator is null
Creates a
Spliterator.OfInt
using a given
IntStream.IntIterator
as the source of elements, with no initial size estimate.
The spliterator is not late-binding, inherits the fail-fast properties of the iterator, and implements trySplit
to permit limited parallelism.
Traversal of elements should be accomplished through the spliterator. The behaviour of splitting and traversal is undefined if the iterator is operated on after the spliterator is returned.
iterator
- The iterator for the source
characteristics
- Characteristics of this spliterator's source or elements (SIZED
and SUBSIZED
, if supplied, are ignored and are not reported.)
NullPointerException
- if the given iterator is null
Creates a
Spliterator.OfLong
using a given
LongStream.LongIterator
as the source of elements, and with a given initially reported size.
The spliterator is not late-binding, inherits the fail-fast properties of the iterator, and implements trySplit
to permit limited parallelism.
Traversal of elements should be accomplished through the spliterator. The behaviour of splitting and traversal is undefined if the iterator is operated on after the spliterator is returned, or the initially reported size is not equal to the actual number of elements in the source.
iterator
- The iterator for the source
size
- The number of elements in the source, to be reported as initial estimateSize
.
characteristics
- Characteristics of this spliterator's source or elements. The characteristics SIZED
and SUBSIZED
are additionally reported unless CONCURRENT
is supplied.
NullPointerException
- if the given iterator is null
Creates a
Spliterator.OfLong
using a given
LongStream.LongIterator
as the source of elements, with no initial size estimate.
The spliterator is not late-binding, inherits the fail-fast properties of the iterator, and implements trySplit
to permit limited parallelism.
Traversal of elements should be accomplished through the spliterator. The behaviour of splitting and traversal is undefined if the iterator is operated on after the spliterator is returned.
iterator
- The iterator for the source
characteristics
- Characteristics of this spliterator's source or elements (SIZED
and SUBSIZED
, if supplied, are ignored and are not reported.)
NullPointerException
- if the given iterator is null
Creates a
Spliterator.OfDouble
using a given
DoubleStream.DoubleIterator
as the source of elements, and with a given initially reported size.
The spliterator is not late-binding, inherits the fail-fast properties of the iterator, and implements trySplit
to permit limited parallelism.
Traversal of elements should be accomplished through the spliterator. The behaviour of splitting and traversal is undefined if the iterator is operated on after the spliterator is returned, or the initially reported size is not equal to the actual number of elements in the source.
iterator
- The iterator for the source
size
- The number of elements in the source, to be reported as initial estimateSize
characteristics
- Characteristics of this spliterator's source or elements. The characteristics SIZED
and SUBSIZED
are additionally reported unless CONCURRENT
is supplied.
NullPointerException
- if the given iterator is null
Creates a
Spliterator.OfDouble
using a given
DoubleStream.DoubleIterator
as the source of elements, with no initial size estimate.
The spliterator is not late-binding, inherits the fail-fast properties of the iterator, and implements trySplit
to permit limited parallelism.
Traversal of elements should be accomplished through the spliterator. The behaviour of splitting and traversal is undefined if the iterator is operated on after the spliterator is returned.
iterator
- The iterator for the source
characteristics
- Characteristics of this spliterator's source or elements (SIZED
and SUBSIZED
, if supplied, are ignored and are not reported.)
NullPointerException
- if the given iterator is null
Creates an
Iterator
from a
Spliterator
.
Traversal of elements should be accomplished through the iterator. The behaviour of traversal is undefined if the spliterator is operated after the iterator is returned.
T
- Type of elements
spliterator
- The spliterator
NullPointerException
- if the given spliterator is null
Creates an
PrimitiveIterator.OfInt
from a
Spliterator.OfInt
.
Traversal of elements should be accomplished through the iterator. The behaviour of traversal is undefined if the spliterator is operated after the iterator is returned.
spliterator
- The spliterator
NullPointerException
- if the given spliterator is null
Creates an
PrimitiveIterator.OfLong
from a
Spliterator.OfLong
.
Traversal of elements should be accomplished through the iterator. The behaviour of traversal is undefined if the spliterator is operated after the iterator is returned.
spliterator
- The spliterator
NullPointerException
- if the given spliterator is null
Creates an
PrimitiveIterator.OfDouble
from a
Spliterator.OfDouble
.
Traversal of elements should be accomplished through the iterator. The behaviour of traversal is undefined if the spliterator is operated after the iterator is returned.
spliterator
- The spliterator
NullPointerException
- if the given spliterator is null
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4