jBNC Toolbox

jbnc.graphs
Class Vertex

java.lang.Object
  extended byjbnc.graphs.Vertex

public class Vertex
extends java.lang.Object

Description of the Class

Since:
June 1, 1999
Author:
Jarek Sacha

Field Summary
protected  int index
           
protected  java.lang.String name
           
 
Constructor Summary
Vertex(java.lang.String name, int index)
          Constructor for the Vertex object
 
Method Summary
 int getIndex()
          Gets the Index attribute of the Vertex object
 java.lang.String getName()
          Gets the Name attribute of the Vertex object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

index

protected int index
Constructor Detail

Vertex

public Vertex(java.lang.String name,
              int index)
Constructor for the Vertex object

Parameters:
name - Description of Parameter
index - Description of Parameter
Method Detail

getName

public java.lang.String getName()
Gets the Name attribute of the Vertex object

Returns:
The Name value

getIndex

public int getIndex()
Gets the Index attribute of the Vertex object

Returns:
The Index value

toString

public java.lang.String toString()
Description of the Method

Returns:
Description of the Returned Value

SourceForge.net Logo