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

26 lines
442 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.common.graph;
import java.util.Iterator;
import java.util.Set;
/* loaded from: classes2.dex */
interface GraphConnections<N, V> {
void addPredecessor(N n, V v);
V addSuccessor(N n, V v);
Set<N> adjacentNodes();
Iterator<EndpointPair<N>> incidentEdgeIterator(N n);
Set<N> predecessors();
void removePredecessor(N n);
V removeSuccessor(N n);
Set<N> successors();
V value(N n);
}