public interface

DynamicBuilders.DynamicInt32

implements DynamicBuilders.DynamicType

 androidx.wear.protolayout.expression.DynamicBuilders.DynamicInt32

Subclasses:

PlatformHealthSources.DynamicHeartRateAccuracy

Overview

Interface defining a dynamic int32 type.

It offers a set of helper methods for creating arithmetic and logical expressions, e.g. DynamicBuilders.DynamicInt32.plus(int), DynamicBuilders.DynamicInt32.times(int), DynamicBuilders.DynamicInt32.eq(int), 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.DynamicInt32animate()

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

public DynamicBuilders.DynamicInt32animate(AnimationParameterBuilders.AnimationSpec animationSpec)

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

public static DynamicBuilders.DynamicInt32animate(DynamicDataKey<DynamicBuilders.DynamicInt32> dynamicDataKey)

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

public static DynamicBuilders.DynamicInt32animate(DynamicDataKey<DynamicBuilders.DynamicInt32> dynamicDataKey, AnimationParameterBuilders.AnimationSpec animationSpec)

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

public static DynamicBuilders.DynamicInt32animate(int start, int end)

Creates a DynamicBuilders.DynamicInt32 which will animate from start to end.

public static DynamicBuilders.DynamicInt32animate(int start, int end, AnimationParameterBuilders.AnimationSpec animationSpec)

Creates a DynamicBuilders.DynamicInt32 which will animate from start to end with the given animation parameters.

public DynamicBuilders.DynamicFloatasFloat()

Convert the value represented by this DynamicBuilders.DynamicInt32 into a DynamicBuilders.DynamicFloat.

public static DynamicBuilders.DynamicInt32constant(int constant)

Creates a constant-valued DynamicBuilders.DynamicInt32.

public DynamicBuilders.DynamicFloatdiv(DynamicBuilders.DynamicFloat other)

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

public DynamicBuilders.DynamicInt32div(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicFloatdiv(float other)

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

public DynamicBuilders.DynamicInt32div(int other)

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

public DynamicBuilders.DynamicBooleq(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicBooleq(int other)

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

public DynamicBuilders.DynamicStringformat()

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

public DynamicBuilders.DynamicStringformat(DynamicBuilders.DynamicInt32.IntFormatter formatter)

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

public static DynamicBuilders.DynamicInt32from(DynamicDataKey<DynamicBuilders.DynamicInt32> dynamicDataKey)

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

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

Creates a DynamicBuilders.DynamicInt32 from a byte array generated by DynamicBuilders.DynamicInt32.toDynamicInt32ByteArray().

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

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

public FingerprintgetFingerprint()

Get the fingerprint for this object or null if unknown.

public DynamicBuilders.DynamicBoolgt(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicBoolgt(int other)

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

public DynamicBuilders.DynamicBoolgte(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicBoolgte(int other)

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

public DynamicBuilders.DynamicBoollt(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicBoollt(int other)

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

public DynamicBuilders.DynamicBoollte(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicBoollte(int other)

Returns a DynamicBuilders.DynamicBool that is true if the value of this DynamicBuilders.DynamicInt32 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 a DynamicBuilders.DynamicFloat from this DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicFloat.constant(1.5f)

public DynamicBuilders.DynamicInt32minus(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicFloatminus(float other)

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

public DynamicBuilders.DynamicInt32minus(int other)

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

public DynamicBuilders.DynamicBoolne(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicBoolne(int other)

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

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

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

public DynamicBuilders.DynamicFloatplus(DynamicBuilders.DynamicFloat other)

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

public DynamicBuilders.DynamicInt32plus(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicFloatplus(float other)

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

public DynamicBuilders.DynamicInt32plus(int other)

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

public DynamicBuilders.DynamicFloatrem(DynamicBuilders.DynamicFloat other)

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

public DynamicBuilders.DynamicInt32rem(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicFloatrem(float other)

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

public DynamicBuilders.DynamicInt32rem(int other)

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

public DynamicBuilders.DynamicFloattimes(DynamicBuilders.DynamicFloat other)

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

public DynamicBuilders.DynamicInt32times(DynamicBuilders.DynamicInt32 other)

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

public DynamicBuilders.DynamicFloattimes(float other)

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

public DynamicBuilders.DynamicInt32times(int other)

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

public byte[]toDynamicInt32ByteArray()

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

public inttoDynamicInt32ByteArray(byte[] byteArray[])

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

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

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

public DynamicProto.DynamicInt32toDynamicInt32Proto()

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

public DynamicProto.DynamicInt32toDynamicInt32Proto(boolean withFingerprint)

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

Methods

public DynamicProto.DynamicInt32 toDynamicInt32Proto()

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

public DynamicProto.DynamicInt32 toDynamicInt32Proto(boolean withFingerprint)

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

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

Creates a DynamicBuilders.DynamicInt32 from a byte array generated by DynamicBuilders.DynamicInt32.toDynamicInt32ByteArray().

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

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

public byte[] toDynamicInt32ByteArray()

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

public int toDynamicInt32ByteArray(byte[] byteArray[])

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

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

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

public static DynamicBuilders.DynamicInt32 constant(int constant)

Creates a constant-valued DynamicBuilders.DynamicInt32.

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

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

Parameters:

dynamicDataKey: The source key to a DynamicDataBuilders.DynamicDataValue with an int value.

public static DynamicBuilders.DynamicInt32 animate(int start, int end)

Creates a DynamicBuilders.DynamicInt32 which will animate from start to end.

Parameters:

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

public static DynamicBuilders.DynamicInt32 animate(int start, int end, AnimationParameterBuilders.AnimationSpec animationSpec)

Creates a DynamicBuilders.DynamicInt32 which will animate 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.DynamicInt32 animate(DynamicDataKey<DynamicBuilders.DynamicInt32> dynamicDataKey)

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

Parameters:

dynamicDataKey: The source key to a DynamicDataBuilders.DynamicDataValue with an int value.

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

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

Parameters:

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

Returns a DynamicBuilders.DynamicInt32 that is bound to the value of this DynamicBuilders.DynamicInt32 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.DynamicInt32 that is bound to the value of this DynamicBuilders.DynamicInt32 and every time its value is changing, it animates from its current value to the new value.

Convert the value represented by this DynamicBuilders.DynamicInt32 into a DynamicBuilders.DynamicFloat.

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

Bind the value of this DynamicBuilders.DynamicInt32 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.

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

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

Returns:

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

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

   DynamicInt32.constant(7).plus(DynamicFloat.constant(6.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.DynamicInt32 plus(int other)

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

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

Returns:

a new instance of DynamicBuilders.DynamicInt32 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.DynamicInt32; As an example, the following is equal to DynamicFloat.constant(13.5f)

   DynamicInt32.constant(7).plus(6.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.DynamicInt32 containing the result of subtracting another DynamicBuilders.DynamicInt32 from this DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicInt32.constant(2)

   DynamicInt32.constant(7).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.DynamicInt32 for more information on operation evaluation order.

Returns:

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

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

   DynamicInt32.constant(7).minus(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.DynamicInt32 minus(int other)

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

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

Returns:

a new instance of DynamicBuilders.DynamicInt32 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.DynamicInt32; As an example, the following is equal to DynamicFloat.constant(1.5f)

   DynamicInt32.constant(7).minus(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.DynamicInt32 containing the result of multiplying this DynamicBuilders.DynamicInt32 by another DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicInt32.constant(35)

   DynamicInt32.constant(7).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.DynamicInt32 for more information on operation evaluation order.

Returns:

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

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

   DynamicInt32.constant(7).times(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.DynamicInt32 times(int other)

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

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

Returns:

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

public DynamicBuilders.DynamicFloat times(float other)

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

   DynamicInt32.constant(7).times(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.DynamicInt32 containing the result of dividing this DynamicBuilders.DynamicInt32 by another DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicInt32.constant(1)

   DynamicInt32.constant(7).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.DynamicInt32 for more information on operation evaluation order.

Returns:

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

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

   DynamicInt32.constant(7).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.DynamicInt32 div(int other)

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

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

Returns:

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

public DynamicBuilders.DynamicFloat div(float other)

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

   DynamicInt32.constant(7).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.DynamicInt32 containing the reminder of dividing this DynamicBuilders.DynamicInt32 by another DynamicBuilders.DynamicInt32; As an example, the following is equal to DynamicInt32.constant(2)

   DynamicInt32.constant(7).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.DynamicInt32 for more information on operation evaluation order.

Returns:

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

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

   DynamicInt32.constant(7).rem(DynamicInt32.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.DynamicInt32 rem(int other)

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

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

Returns:

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

public DynamicBuilders.DynamicFloat rem(float other)

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

   DynamicInt32.constant(7).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.

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

public DynamicBuilders.DynamicBool eq(int other)

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

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

public DynamicBuilders.DynamicBool ne(int other)

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

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

public DynamicBuilders.DynamicBool lt(int other)

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

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

public DynamicBuilders.DynamicBool lte(int other)

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

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

public DynamicBuilders.DynamicBool gt(int other)

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

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

public DynamicBuilders.DynamicBool gte(int other)

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

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

   DynamicInt32.constant(12).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.DynamicInt32. As an example, for locale en_US, the following is equal to DynamicString.constant("0,012")

   DynamicInt32.constant(12)
            .format(
                new IntFormatter.Builder()
                                .setMinIntegerDigits(4)
                                .setGroupingUsed(true)
                                .build());
 

Parameters:

formatter: The formatting parameter.

public Fingerprint getFingerprint()

Get the fingerprint for this object or null if unknown.