Interface IFloatValueBuilder
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<Number>, ISubTypeValueBuilder<Number, IFloatValueBuilder>, IValueBuilder<Number>, IValueConfigurator
A
IValueBuilder for creating a 64-bit floating point value.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptiondefault IFloatValueBuilderasThis()value(double value) Applies the given value to this builder.Methods inherited from interface org.apache.commons.lang3.builder.Builder
buildMethods inherited from interface ISubTypeValueBuilder
whenBoolean, whenConst, whenFloat, whenInteger, whenList, whenMap, whenNull, whenRecord, whenString, whenTuple, whenUnion, whenVoid
-
Method Details
-
asThis
- Specified by:
asThisin interfaceISubTypeValueBuilder<Number, IFloatValueBuilder>- Returns:
- This instance.
-
value
- Parameters:
value- Float value to use.- Returns:
- This builder instance for chaining method calls.
-
value
Description copied from interface:IValueConfiguratorApplies the given value to this builder. Implementations are allowed to perform validity checks on the passed value and reject the given value or parts of it (in case of lists etc.) when they do not conform to the restrictions imposed by this builder.- Specified by:
valuein interfaceISubTypeValueBuilder<Number, IFloatValueBuilder>- Specified by:
valuein interfaceIValueBuilder<Number>- Specified by:
valuein interfaceIValueConfigurator- Parameters:
value- Sets the value created by this builder.- Returns:
- getThis() builder instance for chaining method calls.
-