Class BinancePrice
java.lang.Object
org.knowm.xchange.binance.dto.marketdata.BinancePrice
- All Implemented Interfaces:
Comparable<BinancePrice>
public final class BinancePrice extends Object implements Comparable<BinancePrice>
-
Constructor Summary
Constructors Constructor Description BinancePrice(String symbol, BigDecimal price)BinancePrice(CurrencyPair pair, BigDecimal price) -
Method Summary
Modifier and Type Method Description intcompareTo(BinancePrice o)booleanequals(Object obj)CurrencyPairgetCurrencyPair()BigDecimalgetPrice()inthashCode()StringtoString()
-
Constructor Details
-
BinancePrice
-
BinancePrice
-
-
Method Details
-
getCurrencyPair
-
getPrice
-
compareTo
- Specified by:
compareToin interfaceComparable<BinancePrice>
-
hashCode
public int hashCode() -
equals
-
toString
-