62 lines
1.8 KiB
Java
62 lines
1.8 KiB
Java
package com.google.common.graph;
|
|
|
|
import java.util.Set;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface ValueGraph<N, V> extends BaseGraph<N> {
|
|
@Override // com.google.common.graph.BaseGraph, com.google.common.graph.Graph
|
|
Set<N> adjacentNodes(N n);
|
|
|
|
@Override // com.google.common.graph.BaseGraph, com.google.common.graph.Graph
|
|
boolean allowsSelfLoops();
|
|
|
|
Graph<N> asGraph();
|
|
|
|
@Override // com.google.common.graph.BaseGraph
|
|
int degree(N n);
|
|
|
|
V edgeValueOrDefault(EndpointPair<N> endpointPair, V v);
|
|
|
|
V edgeValueOrDefault(N n, N n2, V v);
|
|
|
|
@Override // com.google.common.graph.BaseGraph
|
|
Set<EndpointPair<N>> edges();
|
|
|
|
boolean equals(Object obj);
|
|
|
|
@Override // com.google.common.graph.BaseGraph
|
|
boolean hasEdgeConnecting(EndpointPair<N> endpointPair);
|
|
|
|
@Override // com.google.common.graph.BaseGraph
|
|
boolean hasEdgeConnecting(N n, N n2);
|
|
|
|
int hashCode();
|
|
|
|
@Override // com.google.common.graph.BaseGraph
|
|
int inDegree(N n);
|
|
|
|
@Override // com.google.common.graph.BaseGraph
|
|
ElementOrder<N> incidentEdgeOrder();
|
|
|
|
@Override // com.google.common.graph.BaseGraph
|
|
Set<EndpointPair<N>> incidentEdges(N n);
|
|
|
|
@Override // com.google.common.graph.BaseGraph, com.google.common.graph.Graph
|
|
boolean isDirected();
|
|
|
|
@Override // com.google.common.graph.BaseGraph, com.google.common.graph.Graph
|
|
ElementOrder<N> nodeOrder();
|
|
|
|
@Override // com.google.common.graph.BaseGraph, com.google.common.graph.Graph
|
|
Set<N> nodes();
|
|
|
|
@Override // com.google.common.graph.BaseGraph
|
|
int outDegree(N n);
|
|
|
|
@Override // com.google.common.graph.BaseGraph, com.google.common.graph.PredecessorsFunction
|
|
Set<N> predecessors(N n);
|
|
|
|
@Override // com.google.common.graph.BaseGraph, com.google.common.graph.SuccessorsFunction
|
|
Set<N> successors(N n);
|
|
}
|