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

How to use
AbstractValueGraph
in
com.google.common.graph

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

origin: google/guava

@Override
public Set<N> adjacentNodes(N node) {
 return AbstractValueGraph.this.adjacentNodes(node);
}
origin: google/guava

/** Returns a string representation of this graph. */
@Override
public String toString() {
 return "isDirected: "
   + isDirected()
   + ", allowsSelfLoops: "
   + allowsSelfLoops()
   + ", nodes: "
   + nodes()
   + ", edges: "
   + edgeValueMap(this);
}
origin: google/guava

@Override
public int degree(N node) {
 return AbstractValueGraph.this.degree(node);
}
origin: google/guava

@Override
public final boolean equals(@Nullable Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof ValueGraph)) {
  return false;
 }
 ValueGraph<?, ?> other = (ValueGraph<?, ?>) obj;
 return isDirected() == other.isDirected()
   && nodes().equals(other.nodes())
   && edgeValueMap(this).equals(edgeValueMap(other));
}
origin: google/guava

 @Override
 public int outDegree(N node) {
  return AbstractValueGraph.this.outDegree(node);
 }
};
origin: google/guava

@Override
public boolean allowsSelfLoops() {
 return AbstractValueGraph.this.allowsSelfLoops();
}
origin: google/guava

@Override
public Set<N> nodes() {
 return AbstractValueGraph.this.nodes();
}
origin: google/guava

@Override
public final int hashCode() {
 return edgeValueMap(this).hashCode();
}
origin: google/guava

@Override
public Set<EndpointPair<N>> edges() {
 return AbstractValueGraph.this.edges();
}
origin: google/guava

@Override
public ElementOrder<N> nodeOrder() {
 return AbstractValueGraph.this.nodeOrder();
}
origin: google/guava

@Override
public int inDegree(N node) {
 return AbstractValueGraph.this.inDegree(node);
}
origin: google/guava

@Override
public boolean isDirected() {
 return AbstractValueGraph.this.isDirected();
}
origin: google/j2objc

@Override
public final boolean equals(@NullableDecl Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof ValueGraph)) {
  return false;
 }
 ValueGraph<?, ?> other = (ValueGraph<?, ?>) obj;
 return isDirected() == other.isDirected()
   && nodes().equals(other.nodes())
   && edgeValueMap(this).equals(edgeValueMap(other));
}
origin: google/j2objc

 @Override
 public int outDegree(N node) {
  return AbstractValueGraph.this.outDegree(node);
 }
};
origin: google/j2objc

@Override
public boolean allowsSelfLoops() {
 return AbstractValueGraph.this.allowsSelfLoops();
}
origin: google/j2objc

@Override
public Set<N> nodes() {
 return AbstractValueGraph.this.nodes();
}
origin: google/j2objc

@Override
public final int hashCode() {
 return edgeValueMap(this).hashCode();
}
origin: google/j2objc

@Override
public Set<EndpointPair<N>> edges() {
 return AbstractValueGraph.this.edges();
}
origin: google/j2objc

@Override
public ElementOrder<N> nodeOrder() {
 return AbstractValueGraph.this.nodeOrder();
}
origin: google/j2objc

@Override
public int inDegree(N node) {
 return AbstractValueGraph.this.inDegree(node);
}
com.google.common.graphAbstractValueGraph

Javadoc

This class provides a skeletal implementation of ValueGraph. It is recommended to extend this class rather than implement ValueGraph directly.

The methods implemented in this class should not be overridden unless the subclass admits a more efficient implementation.

Most used methods

  • adjacentNodes
  • allowsSelfLoops
  • degree
  • edgeValueMap
  • edges
  • inDegree
  • isDirected
  • nodeOrder
  • nodes
  • outDegree
  • predecessors
  • successors
  • predecessors,
  • successors,
  • edgeValueOrDefault

Popular in Java

  • Creating JSON documents from java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • JButton (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top Vim plugins
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