Class Fn.BinaryOperators

java.lang.Object
com.landawn.abacus.util.Fn.BinaryOperators
Enclosing class:
Fn

public static final class Fn.BinaryOperators extends Object
The Class BinaryOperators.
  • Method Details

    • ofAddAll

      @Deprecated public static <T, C extends Collection<T>> BinaryOperator<C> ofAddAll()
      Deprecated.
      replaced by #ofAddAllToFirst()
      Of add all.
      Type Parameters:
      T -
      C -
      Returns:
    • ofAddAllToFirst

      public static <T, C extends Collection<T>> BinaryOperator<C> ofAddAllToFirst()
      Of add all to first.
      Type Parameters:
      T -
      C -
      Returns:
    • ofAddAllToBigger

      public static <T, C extends Collection<T>> BinaryOperator<C> ofAddAllToBigger()
      Of add all to bigger.
      Type Parameters:
      T -
      C -
      Returns:
    • ofRemoveAll

      @Deprecated public static <T, C extends Collection<T>> BinaryOperator<C> ofRemoveAll()
      Deprecated.
      replaced by #ofRemoveAllFromFirst().
      Of remove all.
      Type Parameters:
      T -
      C -
      Returns:
    • ofRemoveAllFromFirst

      public static <T, C extends Collection<T>> BinaryOperator<C> ofRemoveAllFromFirst()
      Of remove all from first.
      Type Parameters:
      T -
      C -
      Returns:
    • ofPutAll

      @Deprecated public static <K, V, M extends Map<K, V>> BinaryOperator<M> ofPutAll()
      Deprecated.
      replaced by #ofPutAllToFirst()
      Of put all.
      Type Parameters:
      K - the key type
      V - the value type
      M -
      Returns:
    • ofPutAllToFirst

      public static <K, V, M extends Map<K, V>> BinaryOperator<M> ofPutAllToFirst()
      Of put all to first.
      Type Parameters:
      K - the key type
      V - the value type
      M -
      Returns:
    • ofPutAllToBigger

      public static <K, V, M extends Map<K, V>> BinaryOperator<M> ofPutAllToBigger()
      Of put all to bigger.
      Type Parameters:
      K - the key type
      V - the value type
      M -
      Returns:
    • ofMerge

      @Deprecated public static BinaryOperator<Joiner> ofMerge()
      Deprecated.
      replaced by #ofMergeToFirst.
      Returns:
    • ofMergeToFirst

      public static BinaryOperator<Joiner> ofMergeToFirst()
      Of merge to first.
      Returns:
    • ofMergeToBigger

      public static BinaryOperator<Joiner> ofMergeToBigger()
      Of merge to bigger.
      Returns:
    • ofAppend

      @Deprecated public static BinaryOperator<StringBuilder> ofAppend()
      Deprecated.
      replaced by #ofAppendToFirst()
      Returns:
    • ofAppendToFirst

      public static BinaryOperator<StringBuilder> ofAppendToFirst()
      Of append to first.
      Returns:
    • ofAppendToBigger

      public static BinaryOperator<StringBuilder> ofAppendToBigger()
      Of append to bigger.
      Returns:
    • ofConcat

      public static BinaryOperator<String> ofConcat()
      Returns:
    • ofAddInt

      public static BinaryOperator<Integer> ofAddInt()
      Of add int.
      Returns:
    • ofAddLong

      public static BinaryOperator<Long> ofAddLong()
      Of add long.
      Returns:
    • ofAddDouble

      public static BinaryOperator<Double> ofAddDouble()
      Of add double.
      Returns:
    • ofAddBigInteger

      public static BinaryOperator<BigInteger> ofAddBigInteger()
      Of add big integer.
      Returns:
    • ofAddBigDecimal

      public static BinaryOperator<BigDecimal> ofAddBigDecimal()
      Of add big decimal.
      Returns: