public static final class BandedCruisePerformanceModel.Band extends Object implements IEquatable<BandedCruisePerformanceModel.Band>
Constructor and Description |
---|
Band(double altitude,
CruiseCommandedValues commandedValues)
Initializes an instance with the provided parameters
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
boolean |
equalsType(BandedCruisePerformanceModel.Band other)
Indicates whether another instance of this type is exactly equal to this instance.
|
double |
getAltitude()
Gets the altitude at which the
CommandedValues (get ) applies. |
CruiseCommandedValues |
getCommandedValues()
Gets the cruise commanded values associated with the
Altitude (get ). |
int |
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
|
public Band(double altitude, @Nonnull CruiseCommandedValues commandedValues)
altitude
- The altitude at which the commanded values apply.commandedValues
- The associated cruise commanded values.public final double getAltitude()
CommandedValues
(get
) applies.@Nonnull public final CruiseCommandedValues getCommandedValues()
Altitude
(get
).public boolean equals(Object obj)
equals
in class Object
obj
- 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()
,
HashMap
public final boolean equalsType(BandedCruisePerformanceModel.Band other)
equalsType
in interface IEquatable<BandedCruisePerformanceModel.Band>
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 Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)