public class ProgressBarWrappedSpliterator<T> extends Object implements Spliterator<T>, AutoCloseable
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED| Constructor and Description |
|---|
ProgressBarWrappedSpliterator(Spliterator<T> underlying,
ProgressBar pb) |
| Modifier and Type | Method and Description |
|---|---|
int |
characteristics() |
void |
close() |
long |
estimateSize() |
Comparator<? super T> |
getComparator() |
ProgressBar |
getProgressBar() |
boolean |
tryAdvance(Consumer<? super T> action) |
Spliterator<T> |
trySplit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, getExactSizeIfKnown, hasCharacteristicspublic ProgressBarWrappedSpliterator(Spliterator<T> underlying, ProgressBar pb)
public ProgressBar getProgressBar()
public void close()
close in interface AutoCloseablepublic boolean tryAdvance(Consumer<? super T> action)
tryAdvance in interface Spliterator<T>public Spliterator<T> trySplit()
trySplit in interface Spliterator<T>public long estimateSize()
estimateSize in interface Spliterator<T>public int characteristics()
characteristics in interface Spliterator<T>public Comparator<? super T> getComparator()
getComparator in interface Spliterator<T>Copyright © 2022. All rights reserved.