uk.ac.leeds.ccg.andyt.vector.geometry
Class Vector_Network2D.Connection

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Network2D.Connection
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Vector_Network2D

public class Vector_Network2D.Connection
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 Vector_Point2D _Point2D
           
 int _Type
          To distinguish between different types of connection e.g.
 double _Value
          Intended for capacity or other condition, or store of information (e.g.
 
Constructor Summary
Vector_Network2D.Connection()
           
Vector_Network2D.Connection(Vector_Point2D _Point2D, int _Type, double _Value)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          This ignores _Value, so two connections are the same irrespective of _Value.
 int hashCode()
           
 void set_Value(double _Value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Point2D

public Vector_Point2D _Point2D

_Value

public double _Value
Intended for capacity or other condition, or store of information (e.g. number of flows)...


_Type

public int _Type
To distinguish between different types of connection e.g. On foot, by car etc...

Constructor Detail

Vector_Network2D.Connection

public Vector_Network2D.Connection()

Vector_Network2D.Connection

public Vector_Network2D.Connection(Vector_Point2D _Point2D,
                                   int _Type,
                                   double _Value)
Method Detail

set_Value

public void set_Value(double _Value)

equals

public boolean equals(java.lang.Object o)
This ignores _Value, so two connections are the same irrespective of _Value.

Overrides:
equals in class java.lang.Object
Parameters:
o -
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object