src/stock/vertex/StockVertex.java
public static StockVertex generateVertex(String code, String name, long stock, int type) {
		StockVertex sv = new StockVertex();
		sv.code = code;
		sv.name = name;
		sv.stock = stock;
		sv.type = type;
		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 code, String name, long stock, int type) {
		StockVertex sv = new StockVertex();
		sv.code = code;
		sv.name = name;
		sv.stock = stock;
		sv.type = type;
		return sv;
	}
public static StockVertex generateVertex ( String code , String name , long stock , int type ) { StockVertex sv = new StockVertex ( ) ; sv . code = code ; sv . name = name ; sv . stock = stock ; sv . type = type ; return sv ; }
Use this to have same behavior as StockEdge
Use this to have same behavior as StockEdge