Interface DoubleSupplier

All Superinterfaces:
DoubleSupplier

public interface DoubleSupplier extends DoubleSupplier
Enhanced IntSupplier.
Author:
Paul Ferraro
  • Field Details

  • Method Details

    • map

      default <V> Supplier<V> map(DoubleFunction<V> mapper)
      Returns a supplier that returns the value this function mapped via the specified function.
      Type Parameters:
      V - the mapped value type
      Parameters:
      mapper - a mapping function
      Returns:
      a supplier that returns the value this function mapped via the specified function.
    • boxed

      default Supplier<Double> boxed()
      Returns a boxed version of this supplier.
      Returns:
      a boxed version of this supplier.
    • handle

      Returns a new supplier that delegates to this supplier using the specified exception handler.
      Parameters:
      handler - an exception handler
      Returns:
      a new supplier that delegates to this supplier using the specified exception handler.
    • of

      static DoubleSupplier of(double value)