IP
- The supported type of IP address.public abstract class IPRangeSpliterator<IP extends IPAddress<IP>> extends Object implements Spliterator<IP>
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
Modifier and Type | Field and Description |
---|---|
protected static int |
MINIMAL_CHARACTERISTICS
A bit mask with the minimal characteristics that should be returned from
Spliterator.characteristics() :
Spliterator.ORDERED , Spliterator.DISTINCT , Spliterator.SORTED , Spliterator.NONNULL and
Spliterator.IMMUTABLE . |
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
Modifier and Type | Method and Description |
---|---|
Comparator<? super IP> |
getComparator() |
boolean |
tryAdvance(Consumer<? super IP> action) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characteristics, estimateSize, forEachRemaining, getExactSizeIfKnown, hasCharacteristics, trySplit
protected static final int MINIMAL_CHARACTERISTICS
Spliterator.characteristics()
:
Spliterator.ORDERED
, Spliterator.DISTINCT
, Spliterator.SORTED
, Spliterator.NONNULL
and
Spliterator.IMMUTABLE
. Sub classes can additionally return Spliterator.SIZED
and/or Spliterator.SUBSIZED
.public boolean tryAdvance(Consumer<? super IP> action)
tryAdvance
in interface Spliterator<IP extends IPAddress<IP>>
public Comparator<? super IP> getComparator()
getComparator
in interface Spliterator<IP extends IPAddress<IP>>
Copyright © 2019–2023. All rights reserved.