public class AbstractVertex<EdgeType extends AbstractEdge<EdgeType,ActualVertexType>,ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>> extends java.lang.Object implements GraphVertex<ActualVertexType>
GraphVertex,
AbstractGraph,
AbstractEdge| Constructor and Description |
|---|
AbstractVertex() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ActualVertexType other) |
boolean |
equals(java.lang.Object o) |
int |
getLabel()
Get the numeric label for this vertex.
|
int |
hashCode() |
void |
setLabel(int label)
Set the numeric label for this vertex.
|
public int getLabel()
GraphVertexgetLabel in interface GraphVertex<ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>public void setLabel(int label)
GraphVertexsetLabel in interface GraphVertex<ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(ActualVertexType other)
compareTo in interface java.lang.Comparable<ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>SpotBugs is licensed under the LGPL.