Java Code Examples for org.knowm.xchange.currency.CurrencyPair#toString()

The following examples show how to use org.knowm.xchange.currency.CurrencyPair#toString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ExchangeRateStorage.java    From guarda-android-wallets with GNU General Public License v3.0 4 votes vote down vote up
private String getKey(CurrencyPair currencyPair) {
    return Constants.PRICE_STORAGE_PREFIX + "_" + currencyPair.toString();
}
 
Example 2
Source File: ExchangeRateNotAvailableException.java    From guarda-android-wallets with GNU General Public License v3.0 4 votes vote down vote up
public ExchangeRateNotAvailableException(CurrencyPair currencyPair) {
    super(currencyPair.toString() + " not available");
}
 
Example 3
Source File: ExchangeRateStorage.java    From android-wallet-app with GNU General Public License v3.0 4 votes vote down vote up
private String getKey(CurrencyPair currencyPair) {
    return Constants.PRICE_STORAGE_PREFIX + "_" + currencyPair.toString();
}
 
Example 4
Source File: ExchangeRateNotAvailableException.java    From android-wallet-app with GNU General Public License v3.0 4 votes vote down vote up
public ExchangeRateNotAvailableException(CurrencyPair currencyPair) {
    super(currencyPair.toString() + " not available");
}