All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static <A> Iterator<A> |
cacheHasNext(Iterator<A> i) |
static <A> Iterator<A> |
cast(Iterator<? extends A> i) |
static <A,B> Iterator<B> |
comprehend(Iterator<? extends A> gen,
Function<? super A,? extends Iterable<? extends B>> fun) |
static <A,B> Iterator<B> |
comprehend(Iterator<? extends A> gen,
Predicate<? super A> filter,
Function<? super A,? extends B> map) |
static <A> Iterator<A> |
concat(Iterator<? extends A> first,
Iterator<? extends A> second) |
static <A> Iterator<A> |
cons(A first,
Iterator<? extends A> rest) |
static <A> Iterator<A> |
drop(int n,
Iterator<A> things) |
static <A> void |
elementwise(Sink<? super A> sink,
Iterator<A> it) |
static <A> Iterator<A> |
empty() |
static <A> Iterator<A> |
filter(Predicate<? super A> pred,
Iterator<? extends A> i) |
static <A,B> Iterator<A> |
filterWithConstraint(Relation<? super A,? super B> rel,
Iterator<A> things,
Iterator<B> constraints) |
static <A> Iterator<A> |
flatten(Iterator<? extends Iterator<? extends A>> is) |
static <A> Iterator<A> |
iterate(A... things) |
static <A> Iterators.LookaheadIterator<A> |
lookahead(Iterator<? extends A> things) |
static <A,B> Iterator<B> |
map(Function<? super A,? extends B> fun,
Iterator<? extends A> it) |
static <A> Iterator<A> |
merge(Comparator<? super A> order,
boolean removeDuplicates,
Iterator<? extends A> left,
Iterator<? extends A> right) |
static <A> void |
pairwise(PairSink<? super A,? super A> sink,
Iterator<A> it) |
static <A,B> void |
parallel(PairSink<? super A,? super B> sink,
Iterator<A> it,
Iterator<B> jt) |
static <A> Iterators.PushbackIterator<A> |
pushback(Iterator<? extends A> things) |
static <A> Iterator<A> |
singleton(A value) |
static <A> Iterator<A> |
take(int n,
Iterator<A> things) |
static <A> Iterator<A> |
unmodifiableIterator(Iterator<? extends A> i) |