Class Graph.Edge

java.lang.Object
  |
  +--Graph.Edge
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
Graph

protected class Graph.Edge
extends java.lang.Object
implements java.lang.Comparable

Classe degli archi


Method Summary
 int compareTo(java.lang.Object o)
          Confronta archi in base al peso
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(java.lang.Object o)
Confronta archi in base al peso
Specified by:
compareTo in interface java.lang.Comparable
Parameters:
o - oggeto di classe Edge
Returns:
-1 se this < o, 0 se this = o, 1 se this > o