Modifier and Type | Class and Description |
---|---|
class |
IntegerIterator |
class |
IteratorAsThreadSafeNextOnlyIterator<T>
Ensures that every next() call is synchronized.
|
class |
MappingThreadSafeNextOnlyIterator<T,J>
An Iterator that maps elements from an underlying iterator through some function on the fly.
|
Modifier and Type | Method and Description |
---|---|
static <T,V> ThreadSafeNextOnlyIterator<V> |
Parallel.mapStream(ThreadSafeNextOnlyIterator<T> tasks,
Function<T,V> function) |
Modifier and Type | Method and Description |
---|---|
static <T> void |
Parallel.forEach(ThreadSafeNextOnlyIterator<T> tasks,
Function<T,Void> function) |
static <T,V> Map<T,V> |
Parallel.map(ThreadSafeNextOnlyIterator<T> tasks,
Function<T,V> function) |
static <T,V> ThreadSafeNextOnlyIterator<V> |
Parallel.mapStream(ThreadSafeNextOnlyIterator<T> tasks,
Function<T,V> function) |
Constructor and Description |
---|
MappingThreadSafeNextOnlyIterator(ThreadSafeNextOnlyIterator<T> i) |
ThreadSafeNextOnlyIteratorAsNormalIterator(ThreadSafeNextOnlyIterator<T> it)
Deprecated.
|
Copyright © 2006–2014 David Soergel. All rights reserved.