A
- B
- public class IterablePair<A,B> extends Object implements Iterable<Pair<A,B>>
Iterable
which is backed by two other Iterable
s, whose
iteration produces a Pair
of objects corresponding to those given by
the two respective iterations of the backing Iterable
s. That is: the
two backing Iterable
s are iterated in synchrony, and their elements
combined into a single Pair
accessor object.
When two Iterable
s are given which produce an unequal number of
elements, the iteration of the IterablePair
ends when either
of the two backing iterations ends.
Constructor and Description |
---|
IterablePair(Iterable<A> iter1,
Iterable<B> iter2) |
Modifier and Type | Method and Description |
---|---|
Iterator<Pair<A,B>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
Copyright © 2015–2022 ImgLib2. All rights reserved.