本文整理了Java中com.google.common.graph.Network.adjacentEdges()
方法的一些代码示例,展示了Network.adjacentEdges()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Network.adjacentEdges()
方法的具体详情如下:
包路径:com.google.common.graph.Network
类名称:Network
方法名:adjacentEdges
[英]Returns the edges which have an #incidentNodes(Object) in common with edge. An edge is not considered adjacent to itself.
[中]返回与边共有#意外节点(对象)的边。边不被视为与其相邻。
代码示例来源:origin: google/guava
@Override
public Set<E> adjacentEdges(E edge) {
return delegate().adjacentEdges(edge);
}
代码示例来源:origin: google/guava
@Override
public Set<E> adjacentEdges(E edge) {
return network.adjacentEdges(edge);
}
代码示例来源:origin: google/j2objc
@Override
public Set<E> adjacentEdges(E edge) {
return delegate().adjacentEdges(edge);
}
代码示例来源:origin: wildfly/wildfly
@Override
public Set<E> adjacentEdges(E edge) {
return delegate().adjacentEdges(edge);
}
代码示例来源:origin: google/guava
for (E adjacentEdge : network.incidentEdges(incidentNode)) {
assertTrue(
edge.equals(adjacentEdge) || network.adjacentEdges(edge).contains(adjacentEdge));
代码示例来源:origin: com.google.guava/guava-tests
@Override
public Set<E> adjacentEdges(E edge) {
return network.adjacentEdges(edge);
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
@Override
public Set<E> adjacentEdges(E edge) {
return delegate().adjacentEdges(edge);
}
代码示例来源:origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger
@Override
public Set<E> adjacentEdges(E edge) {
return delegate().adjacentEdges(edge);
}
代码示例来源:origin: com.google.guava/guava-tests
for (E adjacentEdge : network.incidentEdges(incidentNode)) {
assertTrue(
edge.equals(adjacentEdge) || network.adjacentEdges(edge).contains(adjacentEdge));
内容来源于网络,如有侵权,请联系作者删除!