Class TermKey
- java.lang.Object
-
- com.inductiveautomation.ignition.common.i18n.translation.TermKey
-
- All Implemented Interfaces:
java.io.Serializable
public class TermKey extends java.lang.Object implements java.io.SerializableThis class lets us map source strings to hash table results using different types of rules. For example, we may choose to ignore case or not. This works by having the source, plus a hash code computed based on our desired set of rules.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetComputedHash()java.lang.StringgetSourceTerm()inthashCode()voidsetComputedHash(int value)voidsetSourceTerm(java.lang.String value)
-
-
-
Method Detail
-
getSourceTerm
public java.lang.String getSourceTerm()
-
setSourceTerm
public void setSourceTerm(java.lang.String value)
-
getComputedHash
public int getComputedHash()
-
setComputedHash
public void setComputedHash(int value)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-