src/stock/vertex/StockVertex.java
public static StockVertex generateVertex(String vertex) {
		String[] t = vertex.split(",");
		StockVertex sv = new StockVertex();
		sv.code = t[0];
		sv.name = t[1];
		sv.stock = Long.parseLong(t[2]);
		sv.type = Integer.parseInt(t[3]);
		return sv;
	}
// Use this to have same behavior as StockEdge

Use this to have same behavior as StockEdge
Use this to have same behavior as StockEdge
public static StockVertex generateVertex(String vertex) {
		String[] t = vertex.split(",");
		StockVertex sv = new StockVertex();
		sv.code = t[0];
		sv.name = t[1];
		sv.stock = Long.parseLong(t[2]);
		sv.type = Integer.parseInt(t[3]);
		return sv;
	}
public static StockVertex generateVertex ( String vertex ) { String [ ] t = vertex . split ( "," ) ; StockVertex sv = new StockVertex ( ) ; sv . code = t [ 0 ] ; sv . name = t [ 1 ] ; sv . stock = Long . parseLong ( t [ 2 ] ) ; sv . type = Integer . parseInt ( t [ 3 ] ) ; return sv ; }
Use this to have same behavior as StockEdge
Use this to have same behavior as StockEdge