Package types.temporal.generated
Record Class GeneratedTFloat.ValueTimeSplit
java.lang.Object
java.lang.Record
types.temporal.generated.GeneratedTFloat.ValueTimeSplit
- Enclosing interface:
GeneratedTFloat
public static record GeneratedTFloat.ValueTimeSplit(double number, OffsetDateTime time, Temporal fragment)
extends Record
One valueTimeSplit fragment with its bin starts.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TemporalThe field for thefragmentrecord component.private final doubleThe field for thenumberrecord component.private final OffsetDateTimeThe field for thetimerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionValueTimeSplit(double number, OffsetDateTime time, Temporal fragment) Creates an instance of aValueTimeSplitrecord 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.time()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
number
private final double numberThe field for thenumberrecord component. -
time
The field for thetimerecord component. -
fragment
The field for thefragmentrecord component.
-
-
Constructor Details
-
ValueTimeSplit
Creates an instance of aValueTimeSplitrecord class.- Parameters:
number- the value for thenumberrecord componenttime- the value for thetimerecord 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
-
time
Returns the value of thetimerecord component.- Returns:
- the value of the
timerecord component
-
fragment
Returns the value of thefragmentrecord component.- Returns:
- the value of the
fragmentrecord component
-