Differential D8191 Diff 29562 java/src/main/java/org/softwareheritage/graph/SwhBidirectionalGraph.java
Changeset View
Changeset View
Standalone View
Standalone View
java/src/main/java/org/softwareheritage/graph/SwhBidirectionalGraph.java
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | public static SwhBidirectionalGraph loadLabelledOffline(String path, ProgressLogger pl) throws IOException { | ||||
return loadLabelled(LoadMethod.OFFLINE, path, null, pl); | return loadLabelled(LoadMethod.OFFLINE, path, null, pl); | ||||
} | } | ||||
public static SwhBidirectionalGraph loadLabelledOffline(String path) throws IOException { | public static SwhBidirectionalGraph loadLabelledOffline(String path) throws IOException { | ||||
return loadLabelled(LoadMethod.OFFLINE, path, null, null); | return loadLabelled(LoadMethod.OFFLINE, path, null, null); | ||||
} | } | ||||
@Override | @Override | ||||
public SwhBidirectionalGraph copy() { | public SwhBidirectionalGraph copy() { | ||||
return new SwhBidirectionalGraph(forwardGraph.copy(), backwardGraph.copy(), this.properties); | return new SwhBidirectionalGraph(forwardGraph.copy(), backwardGraph.copy(), this.properties.copy()); | ||||
} | } | ||||
@Override | @Override | ||||
public SwhBidirectionalGraph transpose() { | public SwhBidirectionalGraph transpose() { | ||||
return new SwhBidirectionalGraph(super.transpose(), this.properties); | return new SwhBidirectionalGraph(super.transpose(), this.properties); | ||||
} | } | ||||
@Override | @Override | ||||
Show All 37 Lines |