Package com.ptc.wvs.server.publish
Class InterferenceInfo.EqualityHelper
java.lang.Object
com.ptc.wvs.server.publish.InterferenceInfo.EqualityHelper
- Enclosing interface:
InterferenceInfo
A equality helper class to support comparisons of interferences.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic InterferenceInfo.ATTRIBUTE[]Get the default array ofInterferenceInfo.ATTRIBUTEs used to determine if twoInterferenceInfoinstances are equal.static InterferenceInfo.ATTRIBUTE[]Get the default array ofInterferenceInfo.ATTRIBUTEs used to generate the hash code for aInterferenceInfoinstance.static InterferenceInfo.ATTRIBUTE[]Get the ShareName array ofInterferenceInfo.ATTRIBUTEs used to determine if twoInterferenceInfoinstances are equal.static inthashCode(InterferenceInfo _a, InterferenceInfo.ATTRIBUTE... _attributes) Given aInterferenceInfoinstance, generate a hash code using specifiedInterferenceInfo.ATTRIBUTEs.static booleanisEqual(InterferenceInfo _a, InterferenceInfo _b, InterferenceInfo.ATTRIBUTE... _attributes) Given twoInterferenceInfoinstances, determine if they are equal based on theInterferenceInfo.ATTRIBUTEs.
-
Method Details
-
isEqual
public static boolean isEqual(InterferenceInfo _a, InterferenceInfo _b, InterferenceInfo.ATTRIBUTE... _attributes) Given twoInterferenceInfoinstances, determine if they are equal based on theInterferenceInfo.ATTRIBUTEs.
Supported API: true- Parameters:
_a- A data structure holding all information that represents a single Interference._b- A data structure holding all information that represents a single Interference._attributes- An array ofInterferenceInfo.ATTRIBUTEs to use in the comparison.- Returns:
- Returns true if the two instances are considered equal based on the
InterferenceInfo.ATTRIBUTEs.
-
hashCode
Given aInterferenceInfoinstance, generate a hash code using specifiedInterferenceInfo.ATTRIBUTEs.
Supported API: true- Parameters:
_a- A data structure holding all information that represents a single Interference._attributes- An array ofInterferenceInfo.ATTRIBUTEs to be used in the generation of the hash code.- Returns:
- A hash code.
-
getDefaultEquals
Get the default array ofInterferenceInfo.ATTRIBUTEs used to determine if twoInterferenceInfoinstances are equal.
Supported API: true- Returns:
- An array of
InterferenceInfo.ATTRIBUTEs.
-
getDefaultHashCode
Get the default array ofInterferenceInfo.ATTRIBUTEs used to generate the hash code for aInterferenceInfoinstance.
Supported API: true- Returns:
- An array of
InterferenceInfo.ATTRIBUTEs.
-