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
Integer
static final Reduction<java.lang.Integer> IntegerMIN
Integer
static final Reduction<java.lang.Integer> IntegerSUM
Integer
static final Reduction<java.lang.Integer> IntegerMULTI
Integer
static final Reduction<java.lang.Integer> IntegerMINUS
Integer
Minus results are addedstatic final Reduction<java.lang.Integer> IntegerBITAND
Integer
static final Reduction<java.lang.Integer> IntegerBITOR
Integer
static final Reduction<java.lang.Integer> IntegerBITXOR
Integer
static final Reduction<java.lang.Integer> IntegerLOGAND
Integer
static final Reduction<java.lang.Integer> IntegerLOGOR
Integer
static final Reduction<java.lang.Double> DoubleMAX
Double
static final Reduction<java.lang.Double> DoubleMIN
Double
static final Reduction<java.lang.Double> DoubleSUM
Double
static final Reduction<java.lang.Double> DoubleMULTI
Double
static final Reduction<java.lang.Double> DoubleMINUS
Double
Minus results are addedstatic final Reduction<java.lang.Double> DoubleBITAND
Double
static final Reduction<java.lang.Double> DoubleBITOR
Double
static final Reduction<java.lang.Double> DoubleBITXOR
Double
static final Reduction<java.lang.Double> DoubleLOGAND
Double
static final Reduction<java.lang.Double> DoubleLOGOR
Double
static final Reduction<java.lang.Long> LongMAX
Long
static final Reduction<java.lang.Long> LongMIN
Long
static final Reduction<java.lang.Long> LongSUM
Long
static final Reduction<java.lang.Long> LongMULTI
Long
static final Reduction<java.lang.Long> LongMINUS
Long
Minus results are addedstatic final Reduction<java.lang.Long> LongBITAND
Long
static final Reduction<java.lang.Long> LongBITOR
Long
static final Reduction<java.lang.Long> LongBITXOR
Long
static final Reduction<java.lang.Long> LongLOGOR
Long
static final Reduction<java.lang.Float> FloatMAX
Float
static final Reduction<java.lang.Float> FloatMIN
Float
static final Reduction<java.lang.Float> FloatSUM
Float
static final Reduction<java.lang.Float> FloatMULTI
Float
static final Reduction<java.lang.Float> FloatMINUS
Float
Minus results are addedstatic final Reduction<java.lang.Short> ShortMAX
Short
static final Reduction<java.lang.Short> ShortMIN
Short
static final Reduction<java.lang.Short> ShortSUM
Short
static final Reduction<java.lang.Short> ShortMULTI
Short
static final Reduction<java.lang.Short> ShortMINUS
Short
Minus results are addedstatic final Reduction<java.lang.Short> ShortBITAND
Short
static final Reduction<java.lang.Short> ShortBITOR
Short
static final Reduction<java.lang.Short> ShortBITXOR
Short
static final Reduction<java.lang.Byte> ByteMAX
Byte
static final Reduction<java.lang.Byte> ByteMIN
Byte
static final Reduction<java.lang.Byte> ByteSUM
Byte
static final Reduction<java.lang.Byte> ByteMULTI
Byte
static final Reduction<java.lang.Byte> ByteMINUS
Byte
Minus results are addedstatic final Reduction<java.lang.Byte> ByteBITAND
Byte
static final Reduction<java.lang.Byte> ByteBITOR
Byte
static final Reduction<java.lang.Byte> ByteBITXOR
Byte
static final Reduction<java.lang.Boolean> BooleanBITAND
Boolean
static final Reduction<java.lang.Boolean> BooleanBITOR
Boolean
static final Reduction<java.lang.Boolean> BooleanBITXOR
Boolean
static final Reduction<java.lang.Boolean> BooleanLOGAND
Boolean
static final Reduction<java.lang.Boolean> BooleanLOGOR
Boolean
static final Reduction<java.lang.Object[]> ArrayCOMBINE
arrays
into one array
E reduce(E first, E second)
first
- The first element in the reduction.second
- The second element in the reduction.first
with second
.