@Test public void testReadString() { URL url = this.getClass().getResource("/graphs/ecoli/EC.dat"); File file = new File(url.getFile()); UTGraph<String, String> graph = null; try { graph = Data.edgeList(file); } catch (IOException e) { e.printStackTrace(); } System.out.println(graph.size()); System.out.println(graph.numLinks()); }
public static UTGraph<String, String> edgeList(File file) throws IOException { return edgeList(file, false); }
Data { public static UTGraph<String, String> edgeList(File file) throws IOException { return edgeList(file, false); } }
Data { public static UTGraph<String, String> edgeList(File file) throws IOException { return edgeList(file, false); }  }
Data { public static UTGraph<String, String> edgeList(File file) throws IOException { return edgeList(file, false); }  static UTGraph<String, String> edgeList(File file); static UTGraph<String, String> edgeList(File file, boolean bipartite); static UTGraph<String, String> edgeList(File file, boolean bipartite, boolean blank); static DTGraph<String, String> edgeListDirected(File file); static DTGraph<String, String> edgeListDirected(File file, boolean blank); static DGraph<String> edgeListDirectedUnlabeled(File file, boolean clean); static DGraph<String> edgeListDirectedUnlabeled(
			File file, boolean clean, File store); static DGraph<String> edgeListDirectedUnlabeledSimple(File file); static UGraph<String> edgeListUndirectedUnlabeled(File file, boolean clean); static void writeEdgeList(Graph<L> graph, File file); static void writeEdgeList(Graph<L> graph, File file, boolean fromOne); }
Data { public static UTGraph<String, String> edgeList(File file) throws IOException { return edgeList(file, false); }  static UTGraph<String, String> edgeList(File file); static UTGraph<String, String> edgeList(File file, boolean bipartite); static UTGraph<String, String> edgeList(File file, boolean bipartite, boolean blank); static DTGraph<String, String> edgeListDirected(File file); static DTGraph<String, String> edgeListDirected(File file, boolean blank); static DGraph<String> edgeListDirectedUnlabeled(File file, boolean clean); static DGraph<String> edgeListDirectedUnlabeled(
			File file, boolean clean, File store); static DGraph<String> edgeListDirectedUnlabeledSimple(File file); static UGraph<String> edgeListUndirectedUnlabeled(File file, boolean clean); static void writeEdgeList(Graph<L> graph, File file); static void writeEdgeList(Graph<L> graph, File file, boolean fromOne);  }