public interface

DynamicBuilders.DynamicFloat

implements DynamicBuilders.DynamicType

 androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat

Overview

Interface defining a dynamic float type.

It offers a set of helper methods for creating arithmetic and logical expressions, e.g. DynamicBuilders.DynamicFloat.plus(float), DynamicBuilders.DynamicFloat.times(float), DynamicBuilders.DynamicFloat.eq(float), etc. These helper methods produce expression trees based on the order in which they were called in an expression. Thus, no operator precedence rules are applied.

For example the following expression is equivalent to result = ((a + b)*c)/d :

 a.plus(b).times(c).div(d);
 
More complex expressions can be created by nesting expressions. For example the following expression is equivalent to result = (a + b)*(c - d) :
 (a.plus(b)).times(c.minus(d));
 

Summary

Methods
public DynamicBuilders.DynamicFloatanimate()

Returns a DynamicBuilders.DynamicFloat that is bound to the value of this DynamicBuilders.DynamicFloat and every time its value is changing, it animates from its current value to the new value.

public DynamicBuilders.DynamicFloatanimate(AnimationParameterBuilders.AnimationSpec animationSpec)

Returns a DynamicBuilders.DynamicFloat that is bound to the value of this DynamicBuilders.DynamicFloat and every time its value is changing, it animates from its current value to the new value.

public static DynamicBuilders.DynamicFloatanimate(DynamicDataKey<DynamicBuilders.DynamicFloat> dynamicDataKey)

Creates a DynamicBuilders.DynamicFloat that is bound to the value of an item of the State.

public static DynamicBuilders.DynamicFloatanimate(DynamicDataKey<DynamicBuilders.DynamicFloat> dynamicDataKey, AnimationParameterBuilders.AnimationSpec animationSpec)

Creates a DynamicBuilders.DynamicFloat that is bound to the value of an item of the State.

public static DynamicBuilders.DynamicFloatanimate(float start, float end)

Creates a DynamicBuilders.DynamicFloat which will animate over the range of floats from start to end.

public static DynamicBuilders.DynamicFloatanimate(float start, float end, AnimationParameterBuilders.AnimationSpec animationSpec)

Creates a DynamicBuilders.DynamicFloat which will animate over the range of floats from start to end with the given animation parameters.

public DynamicBuilders.DynamicInt32asInt()

Returns a DynamicBuilders.DynamicInt32 which holds the largest integer value that is smaller than or equal to this DynamicBuilders.DynamicFloat, i.e.

public static DynamicBuilders.DynamicFloatconstant(float constant)

Creates a constant-valued DynamicBuilders.DynamicFloat.

public DynamicBuilders.DynamicFloatdiv(DynamicBuilders.DynamicFloat other)

Creates a DynamicBuilders.DynamicFloat containing the result of dividing this DynamicBuilders.DynamicFloat by another DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(1.4f)

public DynamicBuilders.DynamicFloatdiv(DynamicBuilders.DynamicInt32 other)

Creates a DynamicBuilders.DynamicFloat containing the result of dividing this DynamicBuilders.DynamicFloat by a DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicFloat.constant(1.4f)

public DynamicBuilders.DynamicFloatdiv(float other)

Creates a DynamicBuilders.DynamicFloat containing the result of dividing this DynamicBuilders.DynamicFloat by a float; As an example, the following is equal to DynamicFloat.constant(1.4f)

public DynamicBuilders.DynamicBooleq(DynamicBuilders.DynamicFloat other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat and other are equal, otherwise it's false.

public DynamicBuilders.DynamicBooleq(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat and other are equal, otherwise it's false.

public DynamicBuilders.DynamicStringformat()

Returns a DynamicBuilders.DynamicString that contains the formatted value of this DynamicBuilders.DynamicFloat (with default formatting parameters).

public DynamicBuilders.DynamicStringformat(DynamicBuilders.DynamicFloat.FloatFormatter formatter)

Returns a DynamicBuilders.DynamicString that contains the formatted value of this DynamicBuilders.DynamicFloat.

public static DynamicBuilders.DynamicFloatfrom(DynamicDataKey<DynamicBuilders.DynamicFloat> dynamicDataKey)

Creates a DynamicBuilders.DynamicFloat that is bound to the value of an item of the State.

public static DynamicBuilders.DynamicFloatfromByteArray(byte[] byteArray[])

Creates a DynamicBuilders.DynamicFloat from a byte array generated by DynamicBuilders.DynamicFloat.toDynamicFloatByteArray().

public static DynamicBuilders.DynamicFloatfromByteArray(byte[] byteArray[], int offset, int length)

Creates a DynamicBuilders.DynamicFloat from the provided byte array at the provided offset and length, that was generated by one of the DynamicBuilders.DynamicFloat.toDynamicFloatByteArray() overloads.

public FingerprintgetFingerprint()

Get the fingerprint for this object or null if unknown.

public DynamicBuilders.DynamicBoolgt(DynamicBuilders.DynamicFloat other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is greater than other, otherwise it's false.

public DynamicBuilders.DynamicBoolgt(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is greater than other, otherwise it's false.

public DynamicBuilders.DynamicBoolgte(DynamicBuilders.DynamicFloat other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is greater than or equal to other, otherwise it's false.

public DynamicBuilders.DynamicBoolgte(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is greater than or equal to other, otherwise it's false.

public DynamicBuilders.DynamicBoollt(DynamicBuilders.DynamicFloat other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is less than other, otherwise it's false.

public DynamicBuilders.DynamicBoollt(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is less than other, otherwise it's false.

public DynamicBuilders.DynamicBoollte(DynamicBuilders.DynamicFloat other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is less than or equal to other, otherwise it's false.

public DynamicBuilders.DynamicBoollte(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is less than or equal to other, otherwise it's false.

public DynamicBuilders.DynamicFloatminus(DynamicBuilders.DynamicFloat other)

Creates a DynamicBuilders.DynamicFloat containing the result of subtracting another DynamicBuilders.DynamicFloat from this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(2f)

public DynamicBuilders.DynamicFloatminus(DynamicBuilders.DynamicInt32 other)

Creates a DynamicBuilders.DynamicFloat containing the result of subtracting a DynamicBuilders.DynamicInt32 from this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(2f)

public DynamicBuilders.DynamicFloatminus(float other)

Creates a DynamicBuilders.DynamicFloat containing the result of subtracting a float from this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(2f)

public DynamicBuilders.DynamicBoolne(DynamicBuilders.DynamicFloat other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat and other are not equal, otherwise it's false.

public DynamicBuilders.DynamicBoolne(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat and other are not equal, otherwise it's false.

public static ConditionScopes.ConditionScope<DynamicBuilders.DynamicFloat, java.lang.Float>onCondition(DynamicBuilders.DynamicBool condition)

Bind the value of this DynamicBuilders.DynamicFloat to the result of a conditional expression.

public DynamicBuilders.DynamicFloatplus(DynamicBuilders.DynamicFloat other)

Creates a DynamicBuilders.DynamicFloat containing the result of adding another DynamicBuilders.DynamicFloat to this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(12f)

public DynamicBuilders.DynamicFloatplus(DynamicBuilders.DynamicInt32 other)

Creates a DynamicBuilders.DynamicFloat containing the result of adding a DynamicBuilders.DynamicInt32 to this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(12f)

public DynamicBuilders.DynamicFloatplus(float other)

Creates a DynamicBuilders.DynamicFloat containing the result of adding a float to this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(12f)

public DynamicBuilders.DynamicFloatrem(DynamicBuilders.DynamicFloat other)

Creates a DynamicBuilders.DynamicFloat containing the reminder of dividing this DynamicBuilders.DynamicFloat by another DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(1.5f)

public DynamicBuilders.DynamicFloatrem(DynamicBuilders.DynamicInt32 other)

Creates a DynamicBuilders.DynamicFloat containing the reminder of dividing this DynamicBuilders.DynamicFloat by a DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicFloat.constant(2f)

public DynamicBuilders.DynamicFloatrem(float other)

Creates a DynamicBuilders.DynamicFloat containing the reminder of dividing this DynamicBuilders.DynamicFloat by a float; As an example, the following is equal to DynamicFloat.constant(1.5f)

public DynamicBuilders.DynamicFloattimes(DynamicBuilders.DynamicFloat other)

Creates a DynamicBuilders.DynamicFloat containing the result of multiplying this DynamicBuilders.DynamicFloat by another DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(35f)

public DynamicBuilders.DynamicFloattimes(DynamicBuilders.DynamicInt32 other)

Creates a DynamicBuilders.DynamicFloat containing the result of multiplying this DynamicBuilders.DynamicFloat by a DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicFloat.constant(35f)

public DynamicBuilders.DynamicFloattimes(float other)

Creates a DynamicBuilders.DynamicFloat containing the result of multiplying this DynamicBuilders.DynamicFloat by a float; As an example, the following is equal to DynamicFloat.constant(35f)

public byte[]toDynamicFloatByteArray()

Serializes the DynamicBuilders.DynamicFloat into a new byte array that can later be used with DynamicBuilders.DynamicFloat.fromByteArray(byte[]).

public inttoDynamicFloatByteArray(byte[] byteArray[])

Serializes the DynamicBuilders.DynamicFloat into the provided byte array, returning the amount of bytes written, that can later be used with DynamicFloat.fromByteArray(byteArray, 0, bytesWritten).

public inttoDynamicFloatByteArray(byte[] byteArray[], int offset, int length)

Serializes the DynamicBuilders.DynamicFloat into the provided byte array, returning the amount of bytes written, limited by the provided offset and length, that can later be used with DynamicFloat.fromByteArray(byteArray, offset, bytesWritten).

public DynamicProto.DynamicFloattoDynamicFloatProto()

Get the protocol buffer representation of this object, without fingerprint.

public DynamicProto.DynamicFloattoDynamicFloatProto(boolean withFingerprint)

Get the protocol buffer representation of this object, with or without fingerprint.

Methods

public DynamicProto.DynamicFloat toDynamicFloatProto()

Get the protocol buffer representation of this object, without fingerprint.

public DynamicProto.DynamicFloat toDynamicFloatProto(boolean withFingerprint)

Get the protocol buffer representation of this object, with or without fingerprint.

public static DynamicBuilders.DynamicFloat fromByteArray(byte[] byteArray[])

Creates a DynamicBuilders.DynamicFloat from a byte array generated by DynamicBuilders.DynamicFloat.toDynamicFloatByteArray().

public static DynamicBuilders.DynamicFloat fromByteArray(byte[] byteArray[], int offset, int length)

Creates a DynamicBuilders.DynamicFloat from the provided byte array at the provided offset and length, that was generated by one of the DynamicBuilders.DynamicFloat.toDynamicFloatByteArray() overloads.

public byte[] toDynamicFloatByteArray()

Serializes the DynamicBuilders.DynamicFloat into a new byte array that can later be used with DynamicBuilders.DynamicFloat.fromByteArray(byte[]).

public int toDynamicFloatByteArray(byte[] byteArray[])

Serializes the DynamicBuilders.DynamicFloat into the provided byte array, returning the amount of bytes written, that can later be used with DynamicFloat.fromByteArray(byteArray, 0, bytesWritten).

public int toDynamicFloatByteArray(byte[] byteArray[], int offset, int length)

Serializes the DynamicBuilders.DynamicFloat into the provided byte array, returning the amount of bytes written, limited by the provided offset and length, that can later be used with DynamicFloat.fromByteArray(byteArray, offset, bytesWritten).

public static DynamicBuilders.DynamicFloat constant(float constant)

Creates a constant-valued DynamicBuilders.DynamicFloat.

If Float.isNan(constant) is true, the value will be invalid. And any expression that uses this DynamicBuilders.DynamicFloat will have an invalid result (which will be delivered through .

public static DynamicBuilders.DynamicFloat from(DynamicDataKey<DynamicBuilders.DynamicFloat> dynamicDataKey)

Creates a DynamicBuilders.DynamicFloat that is bound to the value of an item of the State.

Parameters:

dynamicDataKey: The data source to a DynamicDataBuilders.DynamicDataValue with a float value.

public static DynamicBuilders.DynamicFloat animate(float start, float end)

Creates a DynamicBuilders.DynamicFloat which will animate over the range of floats from start to end.

Parameters:

start: The start value of the range.
end: The end value of the range.

public static DynamicBuilders.DynamicFloat animate(float start, float end, AnimationParameterBuilders.AnimationSpec animationSpec)

Creates a DynamicBuilders.DynamicFloat which will animate over the range of floats from start to end with the given animation parameters.

Parameters:

start: The start value of the range.
end: The end value of the range.
animationSpec: The animation parameters.

public static DynamicBuilders.DynamicFloat animate(DynamicDataKey<DynamicBuilders.DynamicFloat> dynamicDataKey)

Creates a DynamicBuilders.DynamicFloat that is bound to the value of an item of the State. Every time the state value changes, this DynamicBuilders.DynamicFloat will animate from its current value to the new value (from the state).

Parameters:

dynamicDataKey: The data source to a DynamicDataBuilders.DynamicDataValue with a float value.

public static DynamicBuilders.DynamicFloat animate(DynamicDataKey<DynamicBuilders.DynamicFloat> dynamicDataKey, AnimationParameterBuilders.AnimationSpec animationSpec)

Creates a DynamicBuilders.DynamicFloat that is bound to the value of an item of the State. Every time the state value changes, this DynamicBuilders.DynamicFloat will animate from its current value to the new value (from the state).

Parameters:

dynamicDataKey: The source key to a DynamicDataBuilders.DynamicDataValue with a float value.
animationSpec: The animation parameters.

Returns a DynamicBuilders.DynamicFloat that is bound to the value of this DynamicBuilders.DynamicFloat and every time its value is changing, it animates from its current value to the new value.

Parameters:

animationSpec: The animation parameters.

Returns a DynamicBuilders.DynamicFloat that is bound to the value of this DynamicBuilders.DynamicFloat and every time its value is changing, it animates from its current value to the new value.

Returns a DynamicBuilders.DynamicInt32 which holds the largest integer value that is smaller than or equal to this DynamicBuilders.DynamicFloat, i.e. int result = (int) Math.floor(this)

If the float value is larger than MAX_VALUE or smaller than MIN_VALUE, the result of this operation will be invalid and any expression that uses the DynamicBuilders.DynamicInt32 will have an invalid result (which will be delivered through .

Creates a DynamicBuilders.DynamicFloat containing the result of adding another DynamicBuilders.DynamicFloat to this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(12f)

   DynamicFloat.constant(7f).plus(DynamicFloat.constant(5f));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

public DynamicBuilders.DynamicFloat plus(float other)

Creates a DynamicBuilders.DynamicFloat containing the result of adding a float to this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(12f)

   DynamicFloat.constant(7f).plus(5f);
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Creates a DynamicBuilders.DynamicFloat containing the result of adding a DynamicBuilders.DynamicInt32 to this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(12f)

   DynamicFloat.constant(7f).plus(DynamicInt32.constant(5));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Creates a DynamicBuilders.DynamicFloat containing the result of subtracting another DynamicBuilders.DynamicFloat from this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(2f)

   DynamicFloat.constant(7f).minus(DynamicFloat.constant(5f));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

public DynamicBuilders.DynamicFloat minus(float other)

Creates a DynamicBuilders.DynamicFloat containing the result of subtracting a float from this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(2f)

   DynamicFloat.constant(7f).minus(5f);
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Creates a DynamicBuilders.DynamicFloat containing the result of subtracting a DynamicBuilders.DynamicInt32 from this DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(2f)

   DynamicFloat.constant(7f).minus(DynamicInt32.constant(5));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Creates a DynamicBuilders.DynamicFloat containing the result of multiplying this DynamicBuilders.DynamicFloat by another DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(35f)

   DynamicFloat.constant(7f).times(DynamicFloat.constant(5f));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

public DynamicBuilders.DynamicFloat times(float other)

Creates a DynamicBuilders.DynamicFloat containing the result of multiplying this DynamicBuilders.DynamicFloat by a float; As an example, the following is equal to DynamicFloat.constant(35f)

   DynamicFloat.constant(7f).times(5f);
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Creates a DynamicBuilders.DynamicFloat containing the result of multiplying this DynamicBuilders.DynamicFloat by a DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicFloat.constant(35f)

   DynamicFloat.constant(7f).times(DynamicInt32.constant(5));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Creates a DynamicBuilders.DynamicFloat containing the result of dividing this DynamicBuilders.DynamicFloat by another DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(1.4f)

   DynamicFloat.constant(7f).div(DynamicFloat.constant(5f));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

public DynamicBuilders.DynamicFloat div(float other)

Creates a DynamicBuilders.DynamicFloat containing the result of dividing this DynamicBuilders.DynamicFloat by a float; As an example, the following is equal to DynamicFloat.constant(1.4f)

   DynamicFloat.constant(7f).div(5f);
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Creates a DynamicBuilders.DynamicFloat containing the result of dividing this DynamicBuilders.DynamicFloat by a DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicFloat.constant(1.4f)

   DynamicFloat.constant(7f).div(DynamicInt32.constant(5));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Creates a DynamicBuilders.DynamicFloat containing the reminder of dividing this DynamicBuilders.DynamicFloat by another DynamicBuilders.DynamicFloat; As an example, the following is equal to DynamicFloat.constant(1.5f)

   DynamicFloat.constant(7f).rem(DynamicFloat.constant(5.5f));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

public DynamicBuilders.DynamicFloat rem(float other)

Creates a DynamicBuilders.DynamicFloat containing the reminder of dividing this DynamicBuilders.DynamicFloat by a float; As an example, the following is equal to DynamicFloat.constant(1.5f)

   DynamicFloat.constant(7f).rem(5.5f);
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Creates a DynamicBuilders.DynamicFloat containing the reminder of dividing this DynamicBuilders.DynamicFloat by a DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicFloat.constant(2f)

   DynamicFloat.constant(7f).rem(DynamicInt32.constant(5));
 
The operation's evaluation order depends only on its position in the expression; no operator precedence rules are applied. See DynamicBuilders.DynamicFloat for more information on operation evaluation order.

Returns:

a new instance of DynamicBuilders.DynamicFloat containing the result of the operation.

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat and other are equal, otherwise it's false.

public DynamicBuilders.DynamicBool eq(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat and other are equal, otherwise it's false.

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat and other are not equal, otherwise it's false.

public DynamicBuilders.DynamicBool ne(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat and other are not equal, otherwise it's false.

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is less than other, otherwise it's false.

public DynamicBuilders.DynamicBool lt(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is less than other, otherwise it's false.

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is less than or equal to other, otherwise it's false.

public DynamicBuilders.DynamicBool lte(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is less than or equal to other, otherwise it's false.

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is greater than other, otherwise it's false.

public DynamicBuilders.DynamicBool gt(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is greater than other, otherwise it's false.

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is greater than or equal to other, otherwise it's false.

public DynamicBuilders.DynamicBool gte(float other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicFloat is greater than or equal to other, otherwise it's false.

public static ConditionScopes.ConditionScope<DynamicBuilders.DynamicFloat, java.lang.Float> onCondition(DynamicBuilders.DynamicBool condition)

Bind the value of this DynamicBuilders.DynamicFloat to the result of a conditional expression. This will use the value given in either ConditionScopes.ConditionScope.use(T) or ConditionScopes.IfTrueScope.elseUse(T) depending on the value yielded from condition.

Returns a DynamicBuilders.DynamicString that contains the formatted value of this DynamicBuilders.DynamicFloat (with default formatting parameters). As an example, for locale en_US, the following is equal to DynamicString.constant("12.346")

   DynamicFloat.constant(12.34567f).format();
 
The resulted DynamicBuilders.DynamicString is subject to being truncated if it's too long.

Returns a DynamicBuilders.DynamicString that contains the formatted value of this DynamicBuilders.DynamicFloat. As an example, for locale en_US, the following is equal to DynamicString.constant("0,012.34")

   DynamicFloat.constant(12.345f)
       .format(
           new FloatFormatter.Builder().setMaxFractionDigits(2).setMinIntegerDigits(4)
                             .setGroupingUsed(true).build());
 
The resulted DynamicBuilders.DynamicString is subject to being truncated if it's too long.

Parameters:

formatter: The formatting parameter.

public Fingerprint getFingerprint()

Get the fingerprint for this object or null if unknown.