Package tv.hd3g.ffprobejaxb.data
Record Class FFProbeProgram
java.lang.Object
java.lang.Record
tv.hd3g.ffprobejaxb.data.FFProbeProgram
public record FFProbeProgram(List<FFProbeKeyValue> tags, List<FFProbeStream> streams, int programId, int programNum, int nbStreams, int pmtPid, int pcrPid)
extends Record
ProgramType
-
Constructor Summary
ConstructorsConstructorDescriptionFFProbeProgram(List<FFProbeKeyValue> tags, List<FFProbeStream> streams, int programId, int programNum, int nbStreams, int pmtPid, int pcrPid) Creates an instance of aFFProbeProgramrecord 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.intReturns the value of thenbStreamsrecord component.intpcrPid()Returns the value of thepcrPidrecord component.intpmtPid()Returns the value of thepmtPidrecord component.intReturns the value of theprogramIdrecord component.intReturns the value of theprogramNumrecord component.streams()Returns the value of thestreamsrecord component.tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FFProbeProgram
public FFProbeProgram(List<FFProbeKeyValue> tags, List<FFProbeStream> streams, int programId, int programNum, int nbStreams, int pmtPid, int pcrPid) Creates an instance of aFFProbeProgramrecord class.- Parameters:
tags- the value for thetagsrecord componentstreams- the value for thestreamsrecord componentprogramId- the value for theprogramIdrecord componentprogramNum- the value for theprogramNumrecord componentnbStreams- the value for thenbStreamsrecord componentpmtPid- the value for thepmtPidrecord componentpcrPid- the value for thepcrPidrecord 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
-
streams
Returns the value of thestreamsrecord component.- Returns:
- the value of the
streamsrecord component
-
programId
public int programId()Returns the value of theprogramIdrecord component.- Returns:
- the value of the
programIdrecord component
-
programNum
public int programNum()Returns the value of theprogramNumrecord component.- Returns:
- the value of the
programNumrecord component
-
nbStreams
public int nbStreams()Returns the value of thenbStreamsrecord component.- Returns:
- the value of the
nbStreamsrecord component
-
pmtPid
public int pmtPid()Returns the value of thepmtPidrecord component.- Returns:
- the value of the
pmtPidrecord component
-
pcrPid
public int pcrPid()Returns the value of thepcrPidrecord component.- Returns:
- the value of the
pcrPidrecord component
-