congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • BoxLayout (javax.swing)
  • JButton (javax.swing)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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