Class Node

java.lang.Object
  extended by Node

public class Node
extends Object


Constructor Summary
Node()
           
Node(Location loc)
           
 
Method Summary
 boolean addLink(Link l)
           
 int getid()
           
 Link getLink(int n)
           
 ArrayList<Link> getLinks()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node()

Node

public Node(Location loc)
Method Detail

addLink

public boolean addLink(Link l)

getid

public int getid()

getLink

public Link getLink(int n)

getLinks

public ArrayList<Link> getLinks()

toString

public String toString()
Overrides:
toString in class Object
Parameters:
y - a sample parameter for a method
Returns:
the sum of x and y