com.google.common.graph.Network.adjacentEdges()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(138)

本文整理了Java中com.google.common.graph.Network.adjacentEdges()方法的一些代码示例,展示了Network.adjacentEdges()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Network.adjacentEdges()方法的具体详情如下:
包路径:com.google.common.graph.Network
类名称:Network
方法名:adjacentEdges

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));

相关文章