mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 09:57:16 +01:00
77 lines
1.9 KiB
Java
77 lines
1.9 KiB
Java
package com.google.common.graph;
|
|
|
|
import com.google.common.annotations.Beta;
|
|
import com.google.errorprone.annotations.DoNotMock;
|
|
import java.util.Set;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@DoNotMock("Use NetworkBuilder to create a real instance")
|
|
@Beta
|
|
/* loaded from: classes8.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);
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* bridge */ /* synthetic */ default Iterable predecessors(Object obj) {
|
|
return predecessors((Network<N, E>) obj);
|
|
}
|
|
|
|
Set<N> predecessors(N n);
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // com.google.common.graph.SuccessorsFunction, com.google.common.graph.Graph
|
|
/* bridge */ /* synthetic */ default Iterable successors(Object obj) {
|
|
return successors((Network<N, E>) obj);
|
|
}
|
|
|
|
@Override // com.google.common.graph.SuccessorsFunction, com.google.common.graph.Graph
|
|
Set<N> successors(N n);
|
|
}
|