| java.lang.Object com.db.server.Trade
Trade | public class Trade extends Object (Code) | | This is a simple banking system. It is currently not as safe as a professionnal banking system.
|
Method Summary | |
final public void | buyAndSell(Avatar aAvatar, VirtualElement[] someVirtualElements, double aPrice, String aCurrency, Avatar anotherAvatar, VirtualElement[] someOthersVirtualElements, double anotherPrice, String anotherCurrency) | final public void | buyAndSell(Avatar aAvatar, VirtualElement[] someVirtualElements, Avatar anotherAvatar, VirtualElement[] someOthersVirtualElements) | final public double | convertCurrency(String aCurrency, String anotherCurrency) | final public double | convertPrice(String aCurrency, String anotherCurrency, double price) | final public void | createVCash(Avatar avatar, double value, String currency) | final public void | exchange(Avatar aAvatar, VirtualElement[] someVirtualElements, Avatar anotherAvatar, VirtualElement[] someOthersVirtualElements) | final public void | fromCashCardToVCashCard(Avatar avatar, double value, String currency) | final public void | fromVCashCardToCashCard(Avatar avatar, double value, String currency) | final public Ticket[] | generateTransaction(Avatar seller, Avatar buyer, VirtualElement virtualElement) | final public Ticket[] | generateTransaction(Avatar seller, Avatar buyer, VirtualElement virtualElement, double price, String currency) | public double[][] | getCurrencies() | public Vector | getCurrenciesIdentifiers() | public PersistenceManager | getPersistenceManager() | public static double | promoteFloat(float aFloat) | protected void | setCurrencies(Vector currenciesIdentifiers, double[][] currencies) |
convertCurrency | final public double convertCurrency(String aCurrency, String anotherCurrency)(Code) | | |
convertPrice | final public double convertPrice(String aCurrency, String anotherCurrency, double price)(Code) | | |
createVCash | final public void createVCash(Avatar avatar, double value, String currency)(Code) | | |
fromCashCardToVCashCard | final public void fromCashCardToVCashCard(Avatar avatar, double value, String currency)(Code) | | |
fromVCashCardToCashCard | final public void fromVCashCardToCashCard(Avatar avatar, double value, String currency)(Code) | | |
getCurrencies | public double[][] getCurrencies()(Code) | | |
getCurrenciesIdentifiers | public Vector getCurrenciesIdentifiers()(Code) | | |
getPersistenceManager | public PersistenceManager getPersistenceManager()(Code) | | |
promoteFloat | public static double promoteFloat(float aFloat)(Code) | | |
setCurrencies | protected void setCurrencies(Vector currenciesIdentifiers, double[][] currencies)(Code) | | |
|
|