Enum Class ListAddBiConsumer

java.lang.Object
java.lang.Enum<ListAddBiConsumer>
io.reactivex.rxjava3.internal.util.ListAddBiConsumer
All Implemented Interfaces:
BiFunction<List,Object,List>, Serializable, Comparable<ListAddBiConsumer>, Constable

public enum ListAddBiConsumer extends Enum<ListAddBiConsumer> implements BiFunction<List,Object,List>
  • Enum Constant Details

  • Constructor Details

    • ListAddBiConsumer

      private ListAddBiConsumer()
  • Method Details

    • values

      public static ListAddBiConsumer[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ListAddBiConsumer valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • instance

      public static <T> BiFunction<List<T>,T,List<T>> instance()
    • apply

      public List apply(List t1, Object t2)
      Description copied from interface: BiFunction
      Calculate a value based on the input values.
      Specified by:
      apply in interface BiFunction<List,Object,List>
      Parameters:
      t1 - the first value
      t2 - the second value
      Returns:
      the result value