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

51 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.common.graph;
import java.util.Set;
/* loaded from: classes2.dex */
public interface Graph<N> extends BaseGraph<N> {
Set<N> adjacentNodes(N n);
boolean allowsSelfLoops();
@Override // com.google.common.graph.BaseGraph
int degree(N n);
@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);
boolean isDirected();
ElementOrder<N> nodeOrder();
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);
}