Tabnine Logo
NetworkConnections.incidentEdges
Code IndexAdd Tabnine to your IDE (free)

How to use
incidentEdges
method
in
com.google.common.graph.NetworkConnections

Best Java code snippets using com.google.common.graph.NetworkConnections.incidentEdges (Showing top 10 results out of 315)

origin: google/guava

@Override
public Set<E> incidentEdges(N node) {
 return checkedConnections(node).incidentEdges();
}
origin: google/j2objc

@Override
public Set<E> incidentEdges(N node) {
 return checkedConnections(node).incidentEdges();
}
origin: wildfly/wildfly

@Override
public Set<E> incidentEdges(N node) {
 return checkedConnections(node).incidentEdges();
}
origin: google/guava

@Override
@CanIgnoreReturnValue
public boolean removeNode(N node) {
 checkNotNull(node, "node");
 NetworkConnections<N, E> connections = nodeConnections.get(node);
 if (connections == null) {
  return false;
 }
 // Since views are returned, we need to copy the edges that will be removed.
 // Thus we avoid modifying the underlying view while iterating over it.
 for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
  removeEdge(edge);
 }
 nodeConnections.remove(node);
 return true;
}
origin: google/j2objc

@Override
@CanIgnoreReturnValue
public boolean removeNode(N node) {
 checkNotNull(node, "node");
 NetworkConnections<N, E> connections = nodeConnections.get(node);
 if (connections == null) {
  return false;
 }
 // Since views are returned, we need to copy the edges that will be removed.
 // Thus we avoid modifying the underlying view while iterating over it.
 for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
  removeEdge(edge);
 }
 nodeConnections.remove(node);
 return true;
}
origin: wildfly/wildfly

@Override
@CanIgnoreReturnValue
public boolean removeNode(N node) {
 checkNotNull(node, "node");
 NetworkConnections<N, E> connections = nodeConnections.get(node);
 if (connections == null) {
  return false;
 }
 // Since views are returned, we need to copy the edges that will be removed.
 // Thus we avoid modifying the underlying view while iterating over it.
 for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
  removeEdge(edge);
 }
 nodeConnections.remove(node);
 return true;
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@Override
public Set<E> incidentEdges(N node) {
 return checkedConnections(node).incidentEdges();
}
origin: org.jboss.eap/wildfly-client-all

@Override
public Set<E> incidentEdges(N node) {
 return checkedConnections(node).incidentEdges();
}
origin: org.jboss.eap/wildfly-client-all

@Override
@CanIgnoreReturnValue
public boolean removeNode(N node) {
 checkNotNull(node, "node");
 NetworkConnections<N, E> connections = nodeConnections.get(node);
 if (connections == null) {
  return false;
 }
 // Since views are returned, we need to copy the edges that will be removed.
 // Thus we avoid modifying the underlying view while iterating over it.
 for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
  removeEdge(edge);
 }
 nodeConnections.remove(node);
 return true;
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@Override
@CanIgnoreReturnValue
public boolean removeNode(N node) {
 checkNotNull(node, "node");
 NetworkConnections<N, E> connections = nodeConnections.get(node);
 if (connections == null) {
  return false;
 }
 // Since views are returned, we need to copy the edges that will be removed.
 // Thus we avoid modifying the underlying view while iterating over it.
 for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
  removeEdge(edge);
 }
 nodeConnections.remove(node);
 return true;
}
com.google.common.graphNetworkConnectionsincidentEdges

Popular methods of NetworkConnections

  • addInEdge
    Add edge to the set of incoming edges. Implicitly adds node as a predecessor.
  • addOutEdge
    Add edge to the set of outgoing edges. Implicitly adds node as a successor.
  • adjacentNode
    Returns the node that is adjacent to the origin node along edge.In the directed case, edge is assume
  • adjacentNodes
  • edgesConnecting
    Returns the set of edges connecting the origin node to node. For networks without parallel edges, th
  • inEdges
  • outEdges
  • predecessors
  • removeInEdge
    Remove edge from the set of incoming edges. Returns the former predecessor node. In the undirected c
  • removeOutEdge
    Remove edge from the set of outgoing edges. Returns the former successor node.
  • successors
  • successors

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Path (java.nio.file)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JLabel (javax.swing)
  • JList (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now