Class SimpleDemandManager.OrderHandler

java.lang.Object
  extended by SimpleDemandManager.OrderHandler
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
SimpleDemandManager

 class SimpleDemandManager.OrderHandler
extends java.lang.Object
implements java.lang.Comparable

Used for sorting orders and/or RFQs


Field Summary
 OrderInfo order
           
 double profit
           
 RFQInfo rfq
           
 
Constructor Summary
SimpleDemandManager.OrderHandler(OrderInfo order, double profit)
           
SimpleDemandManager.OrderHandler(RFQInfo rfq, double profit)
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

order

public OrderInfo order

rfq

public RFQInfo rfq

profit

public double profit
Constructor Detail

SimpleDemandManager.OrderHandler

SimpleDemandManager.OrderHandler(OrderInfo order,
                                 double profit)

SimpleDemandManager.OrderHandler

SimpleDemandManager.OrderHandler(RFQInfo rfq,
                                 double profit)
Method Detail

compareTo

public int compareTo(java.lang.Object other)
Specified by:
compareTo in interface java.lang.Comparable