Class Connection

java.lang.Object
  extended by Connection

public class Connection
extends Object


Field Summary
(package private)  int distance
           
(package private)  Location from
           
(package private)  Location to
           
 
Constructor Summary
Connection(Location from, Location to, int distance)
           
 
Method Summary
(package private)  Location getFrom()
           
(package private)  Location getTo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

distance

int distance

from

Location from

to

Location to
Constructor Detail

Connection

Connection(Location from,
           Location to,
           int distance)
Method Detail

getFrom

Location getFrom()

getTo

Location getTo()