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()
GraphVertex
getLabel
in interface GraphVertex<ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>
public void setLabel(int label)
GraphVertex
setLabel
in interface GraphVertex<ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(ActualVertexType other)
compareTo
in interface java.lang.Comparable<ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>
SpotBugs is licensed under the LGPL.