public final class VerticalBehaviorDerivatives extends Object implements IEquatable<VerticalBehaviorDerivatives>, ImmutableValueType
Constructor and Description |
---|
VerticalBehaviorDerivatives()
Initializes a new instance.
|
VerticalBehaviorDerivatives(ManeuverReferenceAxes maneuverReferenceAxes,
double horizontalAcceleration,
double verticalAcceleration)
Initializes the vertical derivatives with respect to the indicated maneuver axes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
static boolean |
equals(VerticalBehaviorDerivatives left,
VerticalBehaviorDerivatives right)
Returns
true if the two instances are exactly equal. |
boolean |
equalsType(VerticalBehaviorDerivatives other)
Indicates whether another instance of this type is exactly equal to this instance.
|
double |
getHorizontalAcceleration()
Gets the horizontal component of the acceleration.
|
ManeuverReferenceAxes |
getManeuverReferenceAxes()
Gets the axes in which the vertical behavior of a maneuver is defined.
|
double |
getVerticalAcceleration()
Gets the vertical component of the acceleration.
|
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(VerticalBehaviorDerivatives left,
VerticalBehaviorDerivatives right)
Returns
true if the two instances are not exactly equal. |
public VerticalBehaviorDerivatives()
public VerticalBehaviorDerivatives(@Nonnull ManeuverReferenceAxes maneuverReferenceAxes, double horizontalAcceleration, double verticalAcceleration)
maneuverReferenceAxes
- The axes in which the vertical behavior of a maneuver is defined.horizontalAcceleration
- The horizontal component of the acceleration.verticalAcceleration
- The vertical component of the acceleration.@Nonnull public final ManeuverReferenceAxes getManeuverReferenceAxes()
public final double getHorizontalAcceleration()
public final double getVerticalAcceleration()
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(@Nonnull VerticalBehaviorDerivatives other)
equalsType
in interface IEquatable<VerticalBehaviorDerivatives>
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)
public static boolean equals(@Nonnull VerticalBehaviorDerivatives left, @Nonnull VerticalBehaviorDerivatives 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 VerticalBehaviorDerivatives left, @Nonnull VerticalBehaviorDerivatives 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
.