Package tv.hd3g.ffprobejaxb.data
Record Class FFProbeChapter
java.lang.Object
java.lang.Record
tv.hd3g.ffprobejaxb.data.FFProbeChapter
public record FFProbeChapter(List<FFProbeKeyValue> tags, int id, String timeBase, int start, float startTime, int end, float endTime)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFFProbeChapter(List<FFProbeKeyValue> tags, int id, String timeBase, int start, float startTime, int end, float endTime) Creates an instance of aFFProbeChapterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintend()Returns the value of theendrecord component.floatendTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.intstart()Returns the value of thestartrecord component.floatReturns the value of thestartTimerecord component.tags()Returns the value of thetagsrecord component.timeBase()Returns the value of thetimeBaserecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FFProbeChapter
public FFProbeChapter(List<FFProbeKeyValue> tags, int id, String timeBase, int start, float startTime, int end, float endTime) Creates an instance of aFFProbeChapterrecord class.- Parameters:
tags- the value for thetagsrecord componentid- the value for theidrecord componenttimeBase- the value for thetimeBaserecord componentstart- the value for thestartrecord componentstartTime- the value for thestartTimerecord componentend- the value for theendrecord componentendTime- the value for theendTimerecord 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 '=='. -
tags
Returns the value of thetagsrecord component.- Returns:
- the value of the
tagsrecord component
-
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
timeBase
Returns the value of thetimeBaserecord component.- Returns:
- the value of the
timeBaserecord component
-
start
public int start()Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
startTime
public float startTime()Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
end
public int end()Returns the value of theendrecord component.- Returns:
- the value of the
endrecord component
-
endTime
public float endTime()Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-