public final class ClimbDescentCommandedValues extends Object implements IEquatable<ClimbDescentCommandedValues>, ImmutableValueType
| Constructor and Description |
|---|
ClimbDescentCommandedValues()
Initializes a new instance.
|
ClimbDescentCommandedValues(double trueAirspeed,
double altitudeRate,
double fuelFlowRate)
Initializes an instance with the provided parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(ClimbDescentCommandedValues left,
ClimbDescentCommandedValues right)
Returns
true if the two instances are exactly equal. |
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
boolean |
equalsType(ClimbDescentCommandedValues other)
Indicates whether another instance of this type is exactly equal to this instance.
|
double |
getAirspeed()
Gets the commanded airspeed.
|
double |
getAltitudeRate()
Gets the commanded rate of altitude change.
|
double |
getFuelFlowRate()
Gets the commanded rate of fuel flow.
|
int |
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
|
static boolean |
notEquals(ClimbDescentCommandedValues left,
ClimbDescentCommandedValues right)
Returns
true if the two instances are not exactly equal. |
public ClimbDescentCommandedValues()
public ClimbDescentCommandedValues(double trueAirspeed,
double altitudeRate,
double fuelFlowRate)
trueAirspeed - The commanded true airspeed.altitudeRate - The commanded rate of altitude change.fuelFlowRate - The commanded rate of fuel flow.public final double getAirspeed()
public final double getAltitudeRate()
public final double getFuelFlowRate()
public boolean equals(Object obj)
equals in class Objectobj - The object to compare to this instance.true if obj is an instance of this type and represents the same value as this instance; otherwise false.Object.hashCode(),
HashMappublic final boolean equalsType(@Nonnull ClimbDescentCommandedValues other)
equalsType in interface IEquatable<ClimbDescentCommandedValues>other - The instance to compare to this instance.true if other represents the same value as this instance; otherwise false.public int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)public static boolean equals(@Nonnull ClimbDescentCommandedValues left, @Nonnull ClimbDescentCommandedValues right)
true if the two instances are exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left represents the same value as right; otherwise false.public static boolean notEquals(@Nonnull ClimbDescentCommandedValues left, @Nonnull ClimbDescentCommandedValues right)
true if the two instances are not exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left does not represent the same value as right; otherwise false.