public class Exchange_rate extends Object
This class is multithread safe: it is immutable. In particular, it is always properly constructed, all of its fields are final, and none of their state can be changed after construction. See p. 53 of Java Concurrency In Practice for more discussion.
| Constructor and Description |
|---|
Exchange_rate(Instant time,
String asset_id_base,
String asset_id_quote,
double rate) |
| Modifier and Type | Method and Description |
|---|---|
String |
get_asset_id_base() |
String |
get_asset_id_quote() |
double |
get_rate() |
Instant |
get_time() |
Copyright © 2019 MARMOT SOLUTIONS LTD. All rights reserved.