Interface ConstantFloat

All Superinterfaces:
Comparable<ValueProvider>, FloatProvider, ValueProvider, Wrapper

@NullMarked @AsOf("3.0.0") public interface ConstantFloat extends FloatProvider
A constant float provider which always returns the same value.
Since:
3.0.0
See Also:
  • Method Details

    • of

      @AsOf("3.0.0") static ConstantFloat of(float value)
      A constant float provider.
      Parameters:
      value - the value to return
      Returns:
      the constant float provider
      Since:
      3.0.0