X
- Type of item.public final class Matched<X> extends Object implements Iterable<X>
Constructor and Description |
---|
Matched(BiFunc<? super X,? super Y,Boolean> fnc,
Iterable<? extends X> fst,
Iterable<? extends Y> snd)
Ctor.
|
Matched(Iterable<? extends X> fst,
Iterable<? extends X> snd)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<X> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Matched(Iterable<? extends X> fst, Iterable<? extends X> snd)
fst
- The first part of duplex iterator.snd
- The second part of duplex iterator.public Matched(BiFunc<? super X,? super Y,Boolean> fnc, Iterable<? extends X> fst, Iterable<? extends Y> snd)
Y
- Type of item in snd.fnc
- The function to detect the correlation between elements.fst
- The first part of duplex iterator.snd
- The second part of duplex iterator.Copyright © 2017–2020 Cactoos. All rights reserved.