what-the-bank/sources/com/google/common/graph/BaseGraph.java

39 lines
806 B
Java

package com.google.common.graph;
import java.util.Set;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public interface BaseGraph<N> extends SuccessorsFunction<N>, PredecessorsFunction<N> {
Set<N> adjacentNodes(N n);
boolean allowsSelfLoops();
int degree(N n);
Set<EndpointPair<N>> edges();
boolean hasEdgeConnecting(EndpointPair<N> endpointPair);
boolean hasEdgeConnecting(N n, N n2);
int inDegree(N n);
ElementOrder<N> incidentEdgeOrder();
Set<EndpointPair<N>> incidentEdges(N n);
boolean isDirected();
ElementOrder<N> nodeOrder();
Set<N> nodes();
int outDegree(N n);
Set<N> predecessors(N n);
@Override // com.google.common.graph.SuccessorsFunction
Set<N> successors(N n);
}