All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.common.graph.GraphsBridgeMethods Maven / Gradle / Ivy

Go to download

Guava is a suite of core and expanded libraries that include utility classes, google's collections, io classes, and much much more.

There is a newer version: 33.3.1-jre
Show newest version
package com.google.common.graph;

import com.google.common.annotations.Beta;
import java.util.Set;

/**
 * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've
 * changed. This provides binary compatibility for users who compiled against the old signatures.
 */
@Beta
@ElementTypesAreNonnullByDefault
abstract class GraphsBridgeMethods {

  @SuppressWarnings("PreferredInterfaceType")
  public static  Graph transitiveClosure(Graph graph) {
    return Graphs.transitiveClosure(graph);
  }

  @SuppressWarnings("PreferredInterfaceType")
  public static  Set reachableNodes(Graph graph, N node) {
    return Graphs.reachableNodes(graph, node);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy