src/stock/edge/StockEdge.java
public static StockEdge generateEdge(String edge) {
		String[] t = edge.split(",");
		StockEdge se = new StockEdge();
		se.id = StockEdge.currentID;
		StockEdge.currentID++;
		se.stock = Long.parseLong(t[0]);
		se.sourceName = t[1];
		se.destinationName = t[2];
		se.type = Integer.parseInt(t[3]);
		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(String edge) {
		String[] t = edge.split(",");
		StockEdge se = new StockEdge();
		se.id = StockEdge.currentID;
		StockEdge.currentID++;
		se.stock = Long.parseLong(t[0]);
		se.sourceName = t[1];
		se.destinationName = t[2];
		se.type = Integer.parseInt(t[3]);
		return se;
	}
public static StockEdge generateEdge ( String edge ) { String [ ] t = edge . split ( "," ) ; StockEdge se = new StockEdge ( ) ; se . id = StockEdge . currentID ; StockEdge . currentID ++ ; se . stock = Long . parseLong ( t [ 0 ] ) ; se . sourceName = t [ 1 ] ; se . destinationName = t [ 2 ] ; se . type = Integer . parseInt ( t [ 3 ] ) ; return se ; }
Use this instead of create StockEdge directly
Use this instead of create StockEdge directly