Tabnine Logo
ConfigurableNetwork.containsNode
Code IndexAdd Tabnine to your IDE (free)

How to use
containsNode
method
in
com.google.common.graph.ConfigurableNetwork

Best Java code snippets using com.google.common.graph.ConfigurableNetwork.containsNode (Showing top 5 results out of 315)

origin: google/guava

@Override
public Set<E> edgesConnecting(N nodeU, N nodeV) {
 NetworkConnections<N, E> connectionsU = checkedConnections(nodeU);
 if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
  return ImmutableSet.of();
 }
 checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
 return connectionsU.edgesConnecting(nodeV);
}
origin: google/j2objc

@Override
public Set<E> edgesConnecting(N nodeU, N nodeV) {
 NetworkConnections<N, E> connectionsU = checkedConnections(nodeU);
 if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
  return ImmutableSet.of();
 }
 checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
 return connectionsU.edgesConnecting(nodeV);
}
origin: wildfly/wildfly

@Override
public Set<E> edgesConnecting(N nodeU, N nodeV) {
 NetworkConnections<N, E> connectionsU = checkedConnections(nodeU);
 if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
  return ImmutableSet.of();
 }
 checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
 return connectionsU.edgesConnecting(nodeV);
}
origin: org.jboss.eap/wildfly-client-all

@Override
public Set<E> edgesConnecting(N nodeU, N nodeV) {
 NetworkConnections<N, E> connectionsU = checkedConnections(nodeU);
 if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
  return ImmutableSet.of();
 }
 checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
 return connectionsU.edgesConnecting(nodeV);
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@Override
public Set<E> edgesConnecting(N nodeU, N nodeV) {
 NetworkConnections<N, E> connectionsU = checkedConnections(nodeU);
 if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
  return ImmutableSet.of();
 }
 checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
 return connectionsU.edgesConnecting(nodeV);
}
com.google.common.graphConfigurableNetworkcontainsNode

Popular methods of ConfigurableNetwork

  • asGraph
  • checkedConnections
  • checkedReferenceNode

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • findViewById (Activity)
  • getContentResolver (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JList (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
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