Package com.landawn.abacus.util
Class Fn.BinaryOperators
java.lang.Object
com.landawn.abacus.util.Fn.BinaryOperators
- Enclosing class:
- Fn
The Class BinaryOperators.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
C extends Collection<T>>
BinaryOperator<C>ofAddAll()
Deprecated.static <T,
C extends Collection<T>>
BinaryOperator<C>Of add all to bigger.static <T,
C extends Collection<T>>
BinaryOperator<C>Of add all to first.static BinaryOperator<BigDecimal>
Of add big decimal.static BinaryOperator<BigInteger>
Of add big integer.static BinaryOperator<Double>
Of add double.static BinaryOperator<Integer>
ofAddInt()
Of add int.static BinaryOperator<Long>
Of add long.static BinaryOperator<StringBuilder>
ofAppend()
Deprecated.replaced by#ofAppendToFirst()
static BinaryOperator<StringBuilder>
Of append to bigger.static BinaryOperator<StringBuilder>
Of append to first.static BinaryOperator<String>
ofConcat()
static BinaryOperator<Joiner>
ofMerge()
Deprecated.replaced by#ofMergeToFirst
.static BinaryOperator<Joiner>
Of merge to bigger.static BinaryOperator<Joiner>
Of merge to first.static <K,
V, M extends Map<K, V>>
BinaryOperator<M>ofPutAll()
Deprecated.replaced by#ofPutAllToFirst()
static <K,
V, M extends Map<K, V>>
BinaryOperator<M>Of put all to bigger.static <K,
V, M extends Map<K, V>>
BinaryOperator<M>Of put all to first.static <T,
C extends Collection<T>>
BinaryOperator<C>Deprecated.replaced by#ofRemoveAllFromFirst()
.static <T,
C extends Collection<T>>
BinaryOperator<C>Of remove all from first.
-
Method Details
-
ofAddAll
Deprecated.replaced by#ofAddAllToFirst()
Of add all.- Type Parameters:
T
-C
-- Returns:
-
ofAddAllToFirst
Of add all to first.- Type Parameters:
T
-C
-- Returns:
-
ofAddAllToBigger
Of add all to bigger.- Type Parameters:
T
-C
-- Returns:
-
ofRemoveAll
Deprecated.replaced by#ofRemoveAllFromFirst()
.Of remove all.- Type Parameters:
T
-C
-- Returns:
-
ofRemoveAllFromFirst
Of remove all from first.- Type Parameters:
T
-C
-- Returns:
-
ofPutAll
Deprecated.replaced by#ofPutAllToFirst()
Of put all.- Type Parameters:
K
- the key typeV
- the value typeM
-- Returns:
-
ofPutAllToFirst
Of put all to first.- Type Parameters:
K
- the key typeV
- the value typeM
-- Returns:
-
ofPutAllToBigger
Of put all to bigger.- Type Parameters:
K
- the key typeV
- the value typeM
-- Returns:
-
ofMerge
Deprecated.replaced by#ofMergeToFirst
.- Returns:
-
ofMergeToFirst
Of merge to first.- Returns:
-
ofMergeToBigger
Of merge to bigger.- Returns:
-
ofAppend
Deprecated.replaced by#ofAppendToFirst()
- Returns:
-
ofAppendToFirst
Of append to first.- Returns:
-
ofAppendToBigger
Of append to bigger.- Returns:
-
ofConcat
- Returns:
-
ofAddInt
Of add int.- Returns:
-
ofAddLong
Of add long.- Returns:
-
ofAddDouble
Of add double.- Returns:
-
ofAddBigInteger
Of add big integer.- Returns:
-
ofAddBigDecimal
Of add big decimal.- Returns:
-
#ofAddAllToFirst()