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

62 lines
1.1 KiB
Java

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