public class QueueBackedSpliterator<R> extends Object implements Spliterator<R>
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 |
---|
QueueBackedSpliterator(long timeout,
TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(Throwable t) |
int |
characteristics() |
long |
estimateSize() |
void |
put(R object) |
boolean |
tryAdvance(Consumer<? super R> action) |
Spliterator<R> |
trySplit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics
public QueueBackedSpliterator(long timeout, TimeUnit timeUnit)
public boolean tryAdvance(Consumer<? super R> action)
tryAdvance
in interface Spliterator<R>
public Spliterator<R> trySplit()
trySplit
in interface Spliterator<R>
public long estimateSize()
estimateSize
in interface Spliterator<R>
public int characteristics()
characteristics
in interface Spliterator<R>
public void put(R object)
public void cancel(Throwable t)
Copyright © 2010–2018. All rights reserved.