Package cz.vutbr.fit.layout.model
Class Connection<T>
- java.lang.Object
-
- cz.vutbr.fit.layout.model.Connection<T>
-
- Direct Known Subclasses:
AreaConnection
public class Connection<T> extends Object
A generic connection between two objects with a given relation and a weight.- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description Connection(T a1, T a2, Relation relation, float weight)
Creates a new connection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
T
getA1()
T
getA2()
Relation
getRelation()
float
getWeight()
int
hashCode()
String
toString()
-