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