src/stock/edge/StockEdge.java
public static StockEdge generateEdge(long stock, String sourceName, String destinationName, int type) {
		StockEdge se = new StockEdge();
		se.id = StockEdge.currentID;
		StockEdge.currentID++;
		se.stock = stock;
		se.sourceName = sourceName;
		se.destinationName = destinationName;
		se.type = type;
		return se;
	}
// Use this instead of create StockEdge directly

Use this instead of create StockEdge directly
Use this instead of create StockEdge directly
public static StockEdge generateEdge(long stock, String sourceName, String destinationName, int type) {
		StockEdge se = new StockEdge();
		se.id = StockEdge.currentID;
		StockEdge.currentID++;
		se.stock = stock;
		se.sourceName = sourceName;
		se.destinationName = destinationName;
		se.type = type;
		return se;
	}
public static StockEdge generateEdge ( long stock , String sourceName , String destinationName , int type ) { StockEdge se = new StockEdge ( ) ; se . id = StockEdge . currentID ; StockEdge . currentID ++ ; se . stock = stock ; se . sourceName = sourceName ; se . destinationName = destinationName ; se . type = type ; return se ; }
Use this instead of create StockEdge directly
Use this instead of create StockEdge directly