Record Class QueueEtaEquationResponse
java.lang.Object
java.lang.Record
com.zenith.feature.api.vcapi.model.QueueEtaEquationResponse
-
Constructor Summary
ConstructorsConstructorDescriptionQueueEtaEquationResponse(double factor, double pow) Creates an instance of aQueueEtaEquationResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.doublefactor()Returns the value of thefactorrecord component.final inthashCode()Returns a hash code value for this object.doublepow()Returns the value of thepowrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueueEtaEquationResponse
public QueueEtaEquationResponse(double factor, double pow) Creates an instance of aQueueEtaEquationResponserecord class.- Parameters:
factor- the value for thefactorrecord componentpow- the value for thepowrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
factor
public double factor()Returns the value of thefactorrecord component.- Returns:
- the value of the
factorrecord component
-
pow
public double pow()Returns the value of thepowrecord component.- Returns:
- the value of the
powrecord component
-