Enum Class SingleInternalHelper.ToFlowable

java.lang.Object
java.lang.Enum<SingleInternalHelper.ToFlowable>
io.reactivex.rxjava3.internal.operators.single.SingleInternalHelper.ToFlowable
All Implemented Interfaces:
Function<SingleSource,org.reactivestreams.Publisher>, Serializable, Comparable<SingleInternalHelper.ToFlowable>, Constable
Enclosing class:
SingleInternalHelper

static enum SingleInternalHelper.ToFlowable extends Enum<SingleInternalHelper.ToFlowable> implements Function<SingleSource,org.reactivestreams.Publisher>
  • Enum Constant Details

  • Constructor Details

    • ToFlowable

      private ToFlowable()
  • Method Details

    • values

      public static SingleInternalHelper.ToFlowable[] 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 SingleInternalHelper.ToFlowable 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
    • apply

      public org.reactivestreams.Publisher apply(SingleSource v)
      Description copied from interface: Function
      Apply some calculation to the input value and return some other value.
      Specified by:
      apply in interface Function<SingleSource,org.reactivestreams.Publisher>
      Parameters:
      v - the input value
      Returns:
      the output value