net.sf.emarket.trade.domain
Class PriceEntry

java.lang.Object
  extended by net.sf.emarket.trade.domain.PriceEntry

public class PriceEntry
extends java.lang.Object


Constructor Summary
PriceEntry(float p)
           
 
Method Summary
 int getBuyOrdersForQuantity(int quantity, java.util.List<ReceivedOrder> matchingOrders)
           
 int getBuyQuantity()
           
 float getPrice()
           
 int getSellOrdersForQuantity(int quantity, java.util.List<ReceivedOrder> matchingOrders)
           
 int getSellQuantity()
           
 int getTotalBuyOrders()
           
 int getTotalBuyQuantity()
           
 int getTotalSellOrders()
           
 int getTotalSellQuantity()
           
 boolean hasBuyOrders()
           
 boolean hasSellOrders()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriceEntry

public PriceEntry(float p)
Method Detail

getPrice

public float getPrice()

hasBuyOrders

public boolean hasBuyOrders()

getTotalBuyQuantity

public int getTotalBuyQuantity()

getTotalBuyOrders

public int getTotalBuyOrders()

getBuyOrdersForQuantity

public int getBuyOrdersForQuantity(int quantity,
                                   java.util.List<ReceivedOrder> matchingOrders)

hasSellOrders

public boolean hasSellOrders()

getTotalSellQuantity

public int getTotalSellQuantity()

getTotalSellOrders

public int getTotalSellOrders()

getSellOrdersForQuantity

public int getSellOrdersForQuantity(int quantity,
                                    java.util.List<ReceivedOrder> matchingOrders)

getBuyQuantity

public int getBuyQuantity()

getSellQuantity

public int getSellQuantity()


Copyright © 2009. All Rights Reserved.