congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Graphs$TransposedGraph
Code IndexAdd Tabnine to your IDE (free)

How to use
Graphs$TransposedGraph
in
com.google.common.graph

Best Java code snippets using com.google.common.graph.Graphs$TransposedGraph (Showing top 20 results out of 315)

origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

/**
 * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
 * properties remain intact, and further updates to {@code graph} will be reflected in the view.
 */
public static <N> Graph<N> transpose(Graph<N> graph) {
 if (!graph.isDirected()) {
  return graph; // the transpose of an undirected graph is an identical graph
 }
 if (graph instanceof TransposedGraph) {
  return ((TransposedGraph<N>) graph).graph;
 }
 return new TransposedGraph<N>(graph);
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@Override
public Set<N> predecessors(N node) {
 return delegate().successors(node); // transpose
}
origin: org.jboss.eap/wildfly-client-all

@Override
public int inDegree(N node) {
 return delegate().outDegree(node); // transpose
}
origin: org.jboss.eap/wildfly-client-all

@Override
public Set<N> predecessors(N node) {
 return delegate().successors(node); // transpose
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

 @Override
 public boolean hasEdgeConnecting(N nodeU, N nodeV) {
  return delegate().hasEdgeConnecting(nodeV, nodeU); // transpose
 }
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@Override
public int outDegree(N node) {
 return delegate().inDegree(node); // transpose
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@Override
public Set<N> successors(N node) {
 return delegate().predecessors(node); // transpose
}
origin: org.jboss.eap/wildfly-client-all

@Override
public int outDegree(N node) {
 return delegate().inDegree(node); // transpose
}
origin: org.jboss.eap/wildfly-client-all

/**
 * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
 * properties remain intact, and further updates to {@code graph} will be reflected in the view.
 */
public static <N> Graph<N> transpose(Graph<N> graph) {
 if (!graph.isDirected()) {
  return graph; // the transpose of an undirected graph is an identical graph
 }
 if (graph instanceof TransposedGraph) {
  return ((TransposedGraph<N>) graph).graph;
 }
 return new TransposedGraph<N>(graph);
}
origin: org.jboss.eap/wildfly-client-all

@Override
public Set<N> successors(N node) {
 return delegate().predecessors(node); // transpose
}
origin: org.jboss.eap/wildfly-client-all

 @Override
 public boolean hasEdgeConnecting(N nodeU, N nodeV) {
  return delegate().hasEdgeConnecting(nodeV, nodeU); // transpose
 }
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@Override
public int inDegree(N node) {
 return delegate().outDegree(node); // transpose
}
origin: wildfly/wildfly

@Override
public int outDegree(N node) {
 return delegate().inDegree(node); // transpose
}
origin: wildfly/wildfly

@Override
public Set<N> predecessors(N node) {
 return delegate().successors(node); // transpose
}
origin: wildfly/wildfly

@Override
public int inDegree(N node) {
 return delegate().outDegree(node); // transpose
}
origin: wildfly/wildfly

@Override
public Set<N> successors(N node) {
 return delegate().predecessors(node); // transpose
}
origin: wildfly/wildfly

/**
 * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
 * properties remain intact, and further updates to {@code graph} will be reflected in the view.
 */
public static <N> Graph<N> transpose(Graph<N> graph) {
 if (!graph.isDirected()) {
  return graph; // the transpose of an undirected graph is an identical graph
 }
 if (graph instanceof TransposedGraph) {
  return ((TransposedGraph<N>) graph).graph;
 }
 return new TransposedGraph<N>(graph);
}
origin: wildfly/wildfly

 @Override
 public boolean hasEdgeConnecting(N nodeU, N nodeV) {
  return delegate().hasEdgeConnecting(nodeV, nodeU); // transpose
 }
}
origin: google/j2objc

@Override
public int inDegree(N node) {
 return delegate().outDegree(node); // transpose
}
origin: google/j2objc

@Override
public Set<N> predecessors(N node) {
 return delegate().successors(node); // transpose
}
com.google.common.graphGraphs$TransposedGraph

Most used methods

  • <init>
  • delegate

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 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