java.lang.Comparable
public final class FmlKey
extends java.lang.Object
implements java.lang.Comparable
FML
,
mkfldclass
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(java.lang.Object obj) |
orders two FmlKey objects
|
boolean |
equals(java.lang.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
|
java.lang.String |
toString() |
Returns a string version of this object.
|
public int get_fldid()
public int get_occurrence()
@Deprecated public int get_occurance()
public void set_occurrence(int occurrence)
occurrence
- The occurrence number for this key@Deprecated public void set_occurance(int occurrence)
occurrence
- The occurance number for this keypublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- An object to compare to this objectpublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
obj
- The FmlKey object to compare to this one