public final class FmlKey extends Object implements Comparable
FML
,
mkfldclass
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object obj)
orders two FmlKey objects
|
boolean |
equals(Object obj)
Compares two FmlKey objects
|
int |
get_fldid()
Returns the field id associated with this key
|
int |
get_occurance()
Deprecated.
As of 9.2, replaced by get_occurrence().
|
int |
get_occurrence()
Returns the occurrence number associated with this key
|
int |
hashCode()
return hash code value
|
void |
set_occurance(int occurrence)
Deprecated.
As of 9.2, replaced by set_occurrence(int occurrence).
|
void |
set_occurrence(int occurrence)
sets the occurrence number of this key
|
String |
toString()
Returns a string version of this object.
|
public int get_fldid()
public int get_occurrence()
public int get_occurance()
public void set_occurrence(int occurrence)
occurrence
- The occurrence number for this keypublic void set_occurance(int occurrence)
occurrence
- The occurance number for this keypublic boolean equals(Object obj)
public String toString()
public int hashCode()
public int compareTo(Object obj)
compareTo
in interface Comparable
obj
- The FmlKey object to compare to this one