public interface Reduction<E>
| Modifier and Type | Field and Description | 
|---|---|
static Reduction<java.lang.Object[]> | 
ArrayCOMBINE
Combines the elements of two  
arrays into one array | 
static Reduction<java.lang.Boolean> | 
BooleanBITAND
Returns the bitwise AND for  
Boolean | 
static Reduction<java.lang.Boolean> | 
BooleanBITOR
Returns the bitwise OR for  
Boolean | 
static Reduction<java.lang.Boolean> | 
BooleanBITXOR
Returns the bitwise XOR for  
Boolean | 
static Reduction<java.lang.Boolean> | 
BooleanLOGAND
Returns the logical AND for  
Boolean | 
static Reduction<java.lang.Boolean> | 
BooleanLOGOR
Returns the logical OR  
Boolean | 
static Reduction<java.lang.Byte> | 
ByteBITAND
Returns the bitwise AND for  
Byte | 
static Reduction<java.lang.Byte> | 
ByteBITOR
Returns the bitwise OR for  
Byte | 
static Reduction<java.lang.Byte> | 
ByteBITXOR
Returns the bitwise XOR for  
Byte | 
static Reduction<java.lang.Byte> | 
ByteMAX
Returns the maximum for  
Byte | 
static Reduction<java.lang.Byte> | 
ByteMIN
Returns the minimum for  
Byte | 
static Reduction<java.lang.Byte> | 
ByteMINUS
Returns the minus for  
Byte
 Minus results are added | 
static Reduction<java.lang.Byte> | 
ByteMULTI
Returns the multiplication for  
Byte | 
static Reduction<java.lang.Byte> | 
ByteSUM
Returns the sum for  
Byte | 
static Reduction<java.lang.Double> | 
DoubleBITAND
Returns the bitwise AND for  
Double | 
static Reduction<java.lang.Double> | 
DoubleBITOR
Returns the bitwise OR for  
Double | 
static Reduction<java.lang.Double> | 
DoubleBITXOR
Returns the bitwise XOR for  
Double | 
static Reduction<java.lang.Double> | 
DoubleLOGAND
Returns the logical AND for  
Double | 
static Reduction<java.lang.Double> | 
DoubleLOGOR
Returns the logical OR for  
Double | 
static Reduction<java.lang.Double> | 
DoubleMAX
Returns the maximum for  
Double | 
static Reduction<java.lang.Double> | 
DoubleMIN
Returns the minimum for  
Double | 
static Reduction<java.lang.Double> | 
DoubleMINUS
Returns the minus for  
Double
 Minus results are added | 
static Reduction<java.lang.Double> | 
DoubleMULTI
Returns the multiplication for  
Double | 
static Reduction<java.lang.Double> | 
DoubleSUM
Returns the sum for  
Double | 
static Reduction<java.lang.Float> | 
FloatMAX
Returns the maximum for  
Float | 
static Reduction<java.lang.Float> | 
FloatMIN
Returns the minimum for  
Float | 
static Reduction<java.lang.Float> | 
FloatMINUS
Returns the minus for  
Float
 Minus results are added | 
static Reduction<java.lang.Float> | 
FloatMULTI
Returns the multiplication for  
Float | 
static Reduction<java.lang.Float> | 
FloatSUM
Returns the sum for  
Float | 
static Reduction<java.lang.Integer> | 
IntegerBITAND
Returns the bitwise AND for  
Integer | 
static Reduction<java.lang.Integer> | 
IntegerBITOR
Returns the bitwise OR for  
Integer | 
static Reduction<java.lang.Integer> | 
IntegerBITXOR
Returns the bitwise XOR for  
Integer | 
static Reduction<java.lang.Integer> | 
IntegerLOGAND
Returns the logical AND for  
Integer | 
static Reduction<java.lang.Integer> | 
IntegerLOGOR
Returns the logical OR for  
Integer | 
static Reduction<java.lang.Integer> | 
IntegerMAX
Returns the maximum for  
Integer | 
static Reduction<java.lang.Integer> | 
IntegerMIN
Returns the minimum for  
Integer | 
static Reduction<java.lang.Integer> | 
IntegerMINUS
Returns the minus for  
Integer
 Minus results are added | 
static Reduction<java.lang.Integer> | 
IntegerMULTI
Returns the multiplication for  
Integer | 
static Reduction<java.lang.Integer> | 
IntegerSUM
Returns the sum for  
Integer | 
static Reduction<java.lang.Long> | 
LongBITAND
Returns the bitwise AND for  
Long | 
static Reduction<java.lang.Long> | 
LongBITOR
Returns the bitwise OR for  
Long | 
static Reduction<java.lang.Long> | 
LongBITXOR
Returns the bitwise XOR for  
Long | 
static Reduction<java.lang.Long> | 
LongLOGOR
Returns the logical OR for  
Long | 
static Reduction<java.lang.Long> | 
LongMAX
Returns the maximum for  
Long | 
static Reduction<java.lang.Long> | 
LongMIN
Returns the minimum for  
Long | 
static Reduction<java.lang.Long> | 
LongMINUS
Returns the minus for  
Long
 Minus results are added | 
static Reduction<java.lang.Long> | 
LongMULTI
Returns the multiplication for  
Long | 
static Reduction<java.lang.Long> | 
LongSUM
Returns the sum for  
Long | 
static Reduction<java.lang.Short> | 
ShortBITAND
Returns the bitwise AND for  
Short | 
static Reduction<java.lang.Short> | 
ShortBITOR
Returns the bitwise OR for  
Short | 
static Reduction<java.lang.Short> | 
ShortBITXOR
Returns the bitwise XOR for  
Short | 
static Reduction<java.lang.Short> | 
ShortMAX
Returns the maximum for  
Short | 
static Reduction<java.lang.Short> | 
ShortMIN
Returns the minimum for  
Short | 
static Reduction<java.lang.Short> | 
ShortMINUS
Returns the minus for  
Short
 Minus results are added | 
static Reduction<java.lang.Short> | 
ShortMULTI
Returns the multiplication for  
Short | 
static Reduction<java.lang.Short> | 
ShortSUM
Returns the sum for  
Short | 
| Modifier and Type | Method and Description | 
|---|---|
E | 
reduce(E first,
      E second)
Specifies a reduction as defined by 2 elements into 1. 
 | 
static final Reduction<java.lang.Integer> IntegerMAX
Integerstatic final Reduction<java.lang.Integer> IntegerMIN
Integerstatic final Reduction<java.lang.Integer> IntegerSUM
Integerstatic final Reduction<java.lang.Integer> IntegerMULTI
Integerstatic final Reduction<java.lang.Integer> IntegerMINUS
Integer
 Minus results are addedstatic final Reduction<java.lang.Integer> IntegerBITAND
Integerstatic final Reduction<java.lang.Integer> IntegerBITOR
Integerstatic final Reduction<java.lang.Integer> IntegerBITXOR
Integerstatic final Reduction<java.lang.Integer> IntegerLOGAND
Integerstatic final Reduction<java.lang.Integer> IntegerLOGOR
Integerstatic final Reduction<java.lang.Double> DoubleMAX
Doublestatic final Reduction<java.lang.Double> DoubleMIN
Doublestatic final Reduction<java.lang.Double> DoubleSUM
Doublestatic final Reduction<java.lang.Double> DoubleMULTI
Doublestatic final Reduction<java.lang.Double> DoubleMINUS
Double
 Minus results are addedstatic final Reduction<java.lang.Double> DoubleBITAND
Doublestatic final Reduction<java.lang.Double> DoubleBITOR
Doublestatic final Reduction<java.lang.Double> DoubleBITXOR
Doublestatic final Reduction<java.lang.Double> DoubleLOGAND
Doublestatic final Reduction<java.lang.Double> DoubleLOGOR
Doublestatic final Reduction<java.lang.Long> LongMAX
Longstatic final Reduction<java.lang.Long> LongMIN
Longstatic final Reduction<java.lang.Long> LongSUM
Longstatic final Reduction<java.lang.Long> LongMULTI
Longstatic final Reduction<java.lang.Long> LongMINUS
Long
 Minus results are addedstatic final Reduction<java.lang.Long> LongBITAND
Longstatic final Reduction<java.lang.Long> LongBITOR
Longstatic final Reduction<java.lang.Long> LongBITXOR
Longstatic final Reduction<java.lang.Long> LongLOGOR
Longstatic final Reduction<java.lang.Float> FloatMAX
Floatstatic final Reduction<java.lang.Float> FloatMIN
Floatstatic final Reduction<java.lang.Float> FloatSUM
Floatstatic final Reduction<java.lang.Float> FloatMULTI
Floatstatic final Reduction<java.lang.Float> FloatMINUS
Float
 Minus results are addedstatic final Reduction<java.lang.Short> ShortMAX
Shortstatic final Reduction<java.lang.Short> ShortMIN
Shortstatic final Reduction<java.lang.Short> ShortSUM
Shortstatic final Reduction<java.lang.Short> ShortMULTI
Shortstatic final Reduction<java.lang.Short> ShortMINUS
Short
 Minus results are addedstatic final Reduction<java.lang.Short> ShortBITAND
Shortstatic final Reduction<java.lang.Short> ShortBITOR
Shortstatic final Reduction<java.lang.Short> ShortBITXOR
Shortstatic final Reduction<java.lang.Byte> ByteMAX
Bytestatic final Reduction<java.lang.Byte> ByteMIN
Bytestatic final Reduction<java.lang.Byte> ByteSUM
Bytestatic final Reduction<java.lang.Byte> ByteMULTI
Bytestatic final Reduction<java.lang.Byte> ByteMINUS
Byte
 Minus results are addedstatic final Reduction<java.lang.Byte> ByteBITAND
Bytestatic final Reduction<java.lang.Byte> ByteBITOR
Bytestatic final Reduction<java.lang.Byte> ByteBITXOR
Bytestatic final Reduction<java.lang.Boolean> BooleanBITAND
Booleanstatic final Reduction<java.lang.Boolean> BooleanBITOR
Booleanstatic final Reduction<java.lang.Boolean> BooleanBITXOR
Booleanstatic final Reduction<java.lang.Boolean> BooleanLOGAND
Booleanstatic final Reduction<java.lang.Boolean> BooleanLOGOR
Booleanstatic final Reduction<java.lang.Object[]> ArrayCOMBINE
arrays into one arrayE reduce(E first, E second)
first - The first element in the reduction.second - The second element in the reduction.first with second.