Package gamedata
Class ConversionMap.Entry
- java.lang.Object
-
- gamedata.ConversionMap.Entry
-
- Direct Known Subclasses:
ConversionMap.Class
,ConversionMap.NamedEntry
- Enclosing class:
- ConversionMap
public abstract static class ConversionMap.Entry extends java.lang.Object
Represent any entry of a conversion map file.
-
-
Constructor Summary
Constructors Constructor Description Entry(java.lang.String id)
Creates a new entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getId()
Returns the identifier for the entry.int
hashCode()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the identifier for the entry. Is the group identifier forConversionMap.Group
and the entry key forConversionMap.Conversion
. Only guaranteed to be unique within a conversion group.- Returns:
- the entry identifier
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-