public class CollectionJoin<T> extends java.lang.Object implements Reduction<java.util.Collection<T>>
collection
to the first collection
, even if it already exists. However,
the same operation cannot be replicated for sets
, since sets
cannot have duplicate elements.ArrayCOMBINE, BooleanBITAND, BooleanBITOR, BooleanBITXOR, BooleanLOGAND, BooleanLOGOR, ByteBITAND, ByteBITOR, ByteBITXOR, ByteMAX, ByteMIN, ByteMINUS, ByteMULTI, ByteSUM, DoubleBITAND, DoubleBITOR, DoubleBITXOR, DoubleLOGAND, DoubleLOGOR, DoubleMAX, DoubleMIN, DoubleMINUS, DoubleMULTI, DoubleSUM, FloatMAX, FloatMIN, FloatMINUS, FloatMULTI, FloatSUM, IntegerBITAND, IntegerBITOR, IntegerBITXOR, IntegerLOGAND, IntegerLOGOR, IntegerMAX, IntegerMIN, IntegerMINUS, IntegerMULTI, IntegerSUM, LongBITAND, LongBITOR, LongBITXOR, LongLOGOR, LongMAX, LongMIN, LongMINUS, LongMULTI, LongSUM, ShortBITAND, ShortBITOR, ShortBITXOR, ShortMAX, ShortMIN, ShortMINUS, ShortMULTI, ShortSUM
Constructor and Description |
---|
CollectionJoin() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<T> |
reduce(java.util.Collection<T> first,
java.util.Collection<T> second)
Specifies a reduction as defined by 2 elements into 1.
|
public java.util.Collection<T> reduce(java.util.Collection<T> first, java.util.Collection<T> second)
Reduction