GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Algorithmic-Trading-API/TestJavaClient/MarketData.java at master · rample/Algorithmic-Trading-API Expand file tree/ Copy pathMarketData.javaMore file actions executable file ·34 lines (27 loc) · 838 Bytes / Copy pathMarketData.javaFile metadata and controlsexecutable file ·34 lines (27 loc) · 838 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 package TestJavaClient; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; /** * MarketData.java * * Contains all key data object for trading system and manages their functionality. * * @author gkoch * */ public class MarketData implements Serializable{ private static final long serialVersionUID = -6063074796462263640L; private volatile HashMap<Integer,Transaction> transactionMap; private volatile ArrayList<Security> securityList; public MarketData(){ transactionMap = new HashMap<Integer, Transaction>(); securityList = new ArrayList<Security>(); } public synchronized ArrayList<Security> getSecurityList() { return securityList; } public synchronized HashMap<Integer, Transaction> getTransactionMap() { return transactionMap; } } |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |