# Uses of Interface
java.util.PrimitiveIterator.OfLong

Packages that use PrimitiveIterator.OfLong
Package
Description
java.util
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.

## Uses of PrimitiveIterator.OfLong in java.util

Methods in java.util that return PrimitiveIterator.OfLong
Modifier and Type
Method
Description
`static PrimitiveIterator.OfLong`
Spliterators.`iterator(Spliterator.OfLong spliterator)`
Creates an `PrimitiveIterator.OfLong` from a `Spliterator.OfLong`.
Methods in java.util with parameters of type PrimitiveIterator.OfLong
Modifier and Type
Method
Description
`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.