Package tv.hd3g.ffprobejaxb.data
Record Class FFProbeLibraryVersion
java.lang.Object
java.lang.Record
tv.hd3g.ffprobejaxb.data.FFProbeLibraryVersion
public record FFProbeLibraryVersion(String name, int major, int minor, int micro, int version, String ident)
extends Record
LibraryVersionType
-
Constructor Summary
ConstructorsConstructorDescriptionFFProbeLibraryVersion(String name, int major, int minor, int micro, int version, String ident) Creates an instance of aFFProbeLibraryVersionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ident()Returns the value of theidentrecord component.intmajor()Returns the value of themajorrecord component.intmicro()Returns the value of themicrorecord component.intminor()Returns the value of theminorrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.intversion()Returns the value of theversionrecord component.
-
Constructor Details
-
FFProbeLibraryVersion
public FFProbeLibraryVersion(String name, int major, int minor, int micro, int version, String ident) Creates an instance of aFFProbeLibraryVersionrecord class.- Parameters:
name- the value for thenamerecord componentmajor- the value for themajorrecord componentminor- the value for theminorrecord componentmicro- the value for themicrorecord componentversion- the value for theversionrecord componentident- the value for theidentrecord 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 '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
major
public int major()Returns the value of themajorrecord component.- Returns:
- the value of the
majorrecord component
-
minor
public int minor()Returns the value of theminorrecord component.- Returns:
- the value of the
minorrecord component
-
micro
public int micro()Returns the value of themicrorecord component.- Returns:
- the value of the
microrecord component
-
version
public int version()Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
ident
Returns the value of theidentrecord component.- Returns:
- the value of the
identrecord component
-