Differential D7890 Diff 28493 java/src/main/java/org/softwareheritage/graph/SwhUnidirectionalGraph.java
Changeset View
Changeset View
Standalone View
Standalone View
java/src/main/java/org/softwareheritage/graph/SwhUnidirectionalGraph.java
Show All 28 Lines | public class SwhUnidirectionalGraph extends ImmutableGraph implements SwhGraph { | ||||
private final ImmutableGraph graph; | private final ImmutableGraph graph; | ||||
/** Labelled ImmutableGraph, null if labels are not loaded */ | /** Labelled ImmutableGraph, null if labels are not loaded */ | ||||
private ArcLabelledImmutableGraph labelledGraph; | private ArcLabelledImmutableGraph labelledGraph; | ||||
/** Property data of the graph (id/type mappings etc.) */ | /** Property data of the graph (id/type mappings etc.) */ | ||||
public SwhGraphProperties properties; | public SwhGraphProperties properties; | ||||
protected SwhUnidirectionalGraph(ImmutableGraph graph, SwhGraphProperties properties) { | public SwhUnidirectionalGraph(ImmutableGraph graph, SwhGraphProperties properties) { | ||||
this.graph = graph; | this.graph = graph; | ||||
this.properties = properties; | this.properties = properties; | ||||
} | } | ||||
protected SwhUnidirectionalGraph(ArcLabelledImmutableGraph graph, SwhGraphProperties properties) { | protected SwhUnidirectionalGraph(ArcLabelledImmutableGraph graph, SwhGraphProperties properties) { | ||||
this.graph = graph; | this.graph = graph; | ||||
this.labelledGraph = graph; | this.labelledGraph = graph; | ||||
this.properties = properties; | this.properties = properties; | ||||
▲ Show 20 Lines • Show All 176 Lines • Show Last 20 Lines |