congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AbstractNetwork.isOrderingCompatible
Code IndexAdd Tabnine to your IDE (free)

How to use
isOrderingCompatible
method
in
com.google.common.graph.AbstractNetwork

Best Java code snippets using com.google.common.graph.AbstractNetwork.isOrderingCompatible (Showing top 2 results out of 315)

origin: google/guava

/**
 * Throws an IllegalArgumentException if the ordering of {@code endpoints} is not compatible
 * with the directionality of this graph.
 */
protected final void validateEndpoints(EndpointPair<?> endpoints) {
 checkNotNull(endpoints);
 checkArgument(isOrderingCompatible(endpoints), ENDPOINTS_MISMATCH);
}
origin: google/guava

@Override
public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
 checkNotNull(endpoints);
 if (!isOrderingCompatible(endpoints)) {
  return false;
 }
 return !edgesConnecting(endpoints.nodeU(), endpoints.nodeV()).isEmpty();
}
com.google.common.graphAbstractNetworkisOrderingCompatible

Popular methods of AbstractNetwork

  • adjacentNodes
  • allowsParallelEdges
  • allowsSelfLoops
  • connectedPredicate
  • degree
  • edgeIncidentNodesMap
  • edgesConnecting
  • inEdges
  • incidentEdges
  • incidentNodes
  • isDirected
  • nodeOrder
  • isDirected,
  • nodeOrder,
  • nodes,
  • outEdges,
  • predecessors,
  • successors,
  • edgeConnecting,
  • edgeConnectingOrNull,
  • validateEndpoints

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Notification (javax.management)
  • Reference (javax.naming)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 12 Jupyter Notebook extensions
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