Record Class LavfiMtdAstatsChannel
java.lang.Object
java.lang.Record
tv.hd3g.fflauncher.filtering.lavfimtd.LavfiMtdAstatsChannel
-
Constructor Summary
ConstructorsConstructorDescriptionLavfiMtdAstatsChannel(float dcOffset, float peakLevel, long flatness, long peakCount, float noiseFloor, long noiseFloorCount, float entropy, Map<String, Float> other) Creates an instance of aLavfiMtdAstatsChannelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfloatdcOffset()Returns the value of thedcOffsetrecord component.floatentropy()Returns the value of theentropyrecord component.final booleanIndicates whether some other object is "equal to" this one.longflatness()Returns the value of theflatnessrecord component.final inthashCode()Returns a hash code value for this object.floatReturns the value of thenoiseFloorrecord component.longReturns the value of thenoiseFloorCountrecord component.other()Returns the value of theotherrecord component.longReturns the value of thepeakCountrecord component.floatReturns the value of thepeakLevelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LavfiMtdAstatsChannel
public LavfiMtdAstatsChannel(float dcOffset, float peakLevel, long flatness, long peakCount, float noiseFloor, long noiseFloorCount, float entropy, Map<String, Float> other) Creates an instance of aLavfiMtdAstatsChannelrecord class.- Parameters:
dcOffset- the value for thedcOffsetrecord componentpeakLevel- the value for thepeakLevelrecord componentflatness- the value for theflatnessrecord componentpeakCount- the value for thepeakCountrecord componentnoiseFloor- the value for thenoiseFloorrecord componentnoiseFloorCount- the value for thenoiseFloorCountrecord componententropy- the value for theentropyrecord componentother- the value for theotherrecord 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 '=='. -
dcOffset
public float dcOffset()Returns the value of thedcOffsetrecord component.- Returns:
- the value of the
dcOffsetrecord component
-
peakLevel
public float peakLevel()Returns the value of thepeakLevelrecord component.- Returns:
- the value of the
peakLevelrecord component
-
flatness
public long flatness()Returns the value of theflatnessrecord component.- Returns:
- the value of the
flatnessrecord component
-
peakCount
public long peakCount()Returns the value of thepeakCountrecord component.- Returns:
- the value of the
peakCountrecord component
-
noiseFloor
public float noiseFloor()Returns the value of thenoiseFloorrecord component.- Returns:
- the value of the
noiseFloorrecord component
-
noiseFloorCount
public long noiseFloorCount()Returns the value of thenoiseFloorCountrecord component.- Returns:
- the value of the
noiseFloorCountrecord component
-
entropy
public float entropy()Returns the value of theentropyrecord component.- Returns:
- the value of the
entropyrecord component
-
other
Returns the value of theotherrecord component.- Returns:
- the value of the
otherrecord component
-