public final class IPv4RangeSpliterator extends IPRangeSpliterator<IPv4Address>
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
MINIMAL_CHARACTERISTICS
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
Constructor and Description |
---|
IPv4RangeSpliterator(IPRange<IPv4Address> range)
Creates a new spliterator.
|
Modifier and Type | Method and Description |
---|---|
int |
characteristics() |
long |
estimateSize() |
IPv4RangeSpliterator |
trySplit() |
getComparator, tryAdvance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, getExactSizeIfKnown, hasCharacteristics
public IPv4RangeSpliterator(IPRange<IPv4Address> range)
range
- The IPv4 range to create a spliterator for.NullPointerException
- If the given IP range is null
.public IPv4RangeSpliterator trySplit()
public long estimateSize()
public int characteristics()
Copyright © 2019–2023. All rights reserved.