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 int
compareTo(BinancePrice o)
boolean
equals(Object obj)
CurrencyPair
getCurrencyPair()
BigDecimal
getPrice()
int
hashCode()
String
toString()
-
Constructor Details
-
BinancePrice
-
BinancePrice
-
-
Method Details
-
getCurrencyPair
-
getPrice
-
compareTo
- Specified by:
compareTo
in interfaceComparable<BinancePrice>
-
hashCode
public int hashCode() -
equals
-
toString
-