@Domain public class OrderbookOrder extends Object implements Comparable<Object>
Constructor and Description |
---|
OrderbookOrder(double mWh,
Double limitPrice) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
long |
getId() |
Double |
getLimitPrice()
Returns the limit price for this unsatisfied order.
|
double |
getMWh()
Returns the quantity of energy unsatisfied for an order.
|
String |
toString() |
public OrderbookOrder(double mWh, Double limitPrice)
public long getId()
public int compareTo(Object o)
compareTo
in interface Comparable<Object>
public Double getLimitPrice()
public double getMWh()
Copyright © 2019 Power TAC. All rights reserved.