Module jp.cafebabe.pochi
Package jp.cafebabe.pochi.pairs
Class RoundRobinPairMatcher<T extends Serializable>
- java.lang.Object
 - 
- jp.cafebabe.birthmarks.AbstractTask<PairMatcherType>
 - 
- jp.cafebabe.birthmarks.pairs.AbstractPairMatcher<T>
 - 
- jp.cafebabe.pochi.pairs.RoundRobinPairMatcher<T>
 
 
 
 
- 
- All Implemented Interfaces:
 PairMatcher<T>,Task<PairMatcherType>
public class RoundRobinPairMatcher<T extends Serializable> extends AbstractPairMatcher<T>
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static PairMatcherTypeSAME_PAIR_TYPEstatic PairMatcherTypeTYPE 
- 
Constructor Summary
Constructors Constructor Description RoundRobinPairMatcher(PairMatcherType type, boolean includeSamePair, Configuration config) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount(Streamable<T> target)longcount(Streamable<T> target1, Streamable<T> target2)Stream<Pair<T>>match(Streamable<T> target)Stream<Pair<T>>match(Streamable<T> target1, Streamable<T> target2)- 
Methods inherited from class jp.cafebabe.birthmarks.AbstractTask
configuration, type 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jp.cafebabe.birthmarks.pairs.PairMatcher
type 
- 
Methods inherited from interface jp.cafebabe.birthmarks.Task
configuration, stripEither, stripOptional 
 - 
 
 - 
 
- 
- 
Field Detail
- 
TYPE
public static final PairMatcherType TYPE
 
- 
SAME_PAIR_TYPE
public static final PairMatcherType SAME_PAIR_TYPE
 
 - 
 
- 
Constructor Detail
- 
RoundRobinPairMatcher
public RoundRobinPairMatcher(PairMatcherType type, boolean includeSamePair, Configuration config)
 
 - 
 
- 
Method Detail
- 
count
public long count(Streamable<T> target1, Streamable<T> target2)
 
- 
count
public long count(Streamable<T> target)
 
- 
match
public Stream<Pair<T>> match(Streamable<T> target)
 
- 
match
public Stream<Pair<T>> match(Streamable<T> target1, Streamable<T> target2)
 
 - 
 
 -