package com.google.common.graph; import java.util.Set; /* loaded from: classes2.dex */ public interface Network extends SuccessorsFunction, PredecessorsFunction { Set adjacentEdges(E e); Set adjacentNodes(N n); boolean allowsParallelEdges(); boolean allowsSelfLoops(); Graph asGraph(); int degree(N n); E edgeConnectingOrNull(EndpointPair endpointPair); E edgeConnectingOrNull(N n, N n2); ElementOrder edgeOrder(); Set edges(); Set edgesConnecting(EndpointPair endpointPair); Set edgesConnecting(N n, N n2); boolean equals(Object obj); boolean hasEdgeConnecting(EndpointPair endpointPair); boolean hasEdgeConnecting(N n, N n2); int hashCode(); int inDegree(N n); Set inEdges(N n); Set incidentEdges(N n); EndpointPair incidentNodes(E e); boolean isDirected(); ElementOrder nodeOrder(); Set nodes(); int outDegree(N n); Set outEdges(N n); Set predecessors(N n); @Override // com.google.common.graph.SuccessorsFunction Set successors(N n); }