|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gswing.components.input.importer.AliasKey
public class AliasKey
A two field key object for aliases.
Constructor Summary | |
---|---|
AliasKey(String key1)
Constructor. |
|
AliasKey(String key1,
String key2)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(Object arg0)
Compare this with another key. |
boolean |
equals(Object arg0)
Test if this is equal to another key. |
String |
getKey1()
|
String |
getKey2()
|
int |
hashCode()
|
void |
setKey1(String key1)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AliasKey(String key1, String key2)
key1
- Primary key string.key2
- Secondary key string.public AliasKey(String key1)
key1
- Primary key string.Method Detail |
---|
public String getKey1()
public String getKey2()
public void setKey1(String key1)
public int compareTo(Object arg0)
compareTo
in interface Comparable
arg0
- The object to compare with this.
public boolean equals(Object arg0)
equals
in class Object
arg0
- The object to compare with this.
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |