|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FXPair
FXPair object represents a pair of ISO currency symbols.
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a exact copy of this FXPair. |
int |
compareTo(FXPair fxpair)
Performs a lexicographical comparison of two FXPair objects. |
boolean |
equals(java.lang.Object o)
Compares this FXPair to another pair. |
java.lang.String |
getBase()
Returns the base currency. |
FXPair |
getInverse()
Returns a new FXPair object with the base and quote currency reversed. |
java.lang.String |
getPair()
Returns the currency pair as a String. |
java.lang.String |
getQuote()
Returns the quote currency. |
int |
hashCode()
Return the hashcode of this pair |
boolean |
isHalted()
Deprecated. |
void |
setBase(java.lang.String base)
Sets the base currency. |
void |
setPair(java.lang.String pair)
Sets the currency pair. |
void |
setQuote(java.lang.String quote)
Sets the quote currency. |
java.lang.String |
toString()
|
Method Detail |
---|
java.lang.Object clone()
int compareTo(FXPair fxpair)
compareTo
in interface java.lang.Comparable<FXPair>
fxpair
- the FXPair to be compared
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the FXPair to be compared
java.lang.String getBase()
FXPair getInverse()
java.lang.String getPair()
java.lang.String getQuote()
int hashCode()
hashCode
in class java.lang.Object
boolean isHalted()
void setBase(java.lang.String base)
base
- the new base currencyvoid setPair(java.lang.String pair)
pair
- the new currency pairvoid setQuote(java.lang.String quote)
quote
- the new quote currencyjava.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |