congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 25 Plugins for Webstorm
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