Package types.temporal.generated
Record Class GeneratedTFloat.ValueSplit
java.lang.Object
java.lang.Record
types.temporal.generated.GeneratedTFloat.ValueSplit
- Enclosing interface:
GeneratedTFloat
One valueSplit fragment with its bin start.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValueSplit(double number, Temporal fragment) Creates an instance of aValueSplitrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fragment()Returns the value of thefragmentrecord component.final inthashCode()Returns a hash code value for this object.doublenumber()Returns the value of thenumberrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
number
private final double numberThe field for thenumberrecord component. -
fragment
The field for thefragmentrecord component.
-
-
Constructor Details
-
ValueSplit
Creates an instance of aValueSplitrecord class.- Parameters:
number- the value for thenumberrecord componentfragment- the value for thefragmentrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
number
public double number()Returns the value of thenumberrecord component.- Returns:
- the value of the
numberrecord component
-
fragment
Returns the value of thefragmentrecord component.- Returns:
- the value of the
fragmentrecord component
-