public class FrequencySpecificElectricFieldPattern extends Object implements IEquatable<FrequencySpecificElectricFieldPattern>
SphericalTabularElectricFieldPattern which is associated with a given frequency.| Constructor and Description |
|---|
FrequencySpecificElectricFieldPattern(double frequency,
SphericalTabularElectricFieldPattern electricFieldPattern)
Initializes an instance with the provided parameters
|
FrequencySpecificElectricFieldPattern(FrequencySpecificElectricFieldPattern existingInstance)
Initializes a new instance as a copy of an existing instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
boolean |
equalsType(FrequencySpecificElectricFieldPattern other)
Indicates whether another instance of this type is exactly equal to this instance.
|
SphericalTabularElectricFieldPattern |
getElectricFieldPattern()
Gets the electric field pattern.
|
double |
getFrequency()
Gets the frequency at which the electric field pattern applies.
|
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 FrequencySpecificElectricFieldPattern(double frequency,
@Nonnull
SphericalTabularElectricFieldPattern electricFieldPattern)
frequency - The frequency at which the electric field pattern applies.electricFieldPattern - The electric field pattern associated with the given frequency.public FrequencySpecificElectricFieldPattern(@Nonnull FrequencySpecificElectricFieldPattern existingInstance)
existingInstance - The existing instance to copy.ArgumentNullException - Thrown when existingInstance is null.public final double getFrequency()
@Nonnull public final SphericalTabularElectricFieldPattern getElectricFieldPattern()
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(FrequencySpecificElectricFieldPattern other)
equalsType in interface IEquatable<FrequencySpecificElectricFieldPattern>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)