org.sonar.graph
Class StringEdge

java.lang.Object
  extended by org.sonar.graph.StringEdge
All Implemented Interfaces:
Edge<String>

public class StringEdge
extends Object
implements Edge<String>


Constructor Summary
StringEdge(String from, String to)
           
StringEdge(String from, String to, int weight)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFrom()
           
 String getTo()
           
 int getWeight()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringEdge

public StringEdge(String from,
                  String to)

StringEdge

public StringEdge(String from,
                  String to,
                  int weight)
Method Detail

getFrom

public String getFrom()
Specified by:
getFrom in interface Edge<String>

getTo

public String getTo()
Specified by:
getTo in interface Edge<String>

getWeight

public int getWeight()
Specified by:
getWeight in interface Edge<String>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 SonarSource. All Rights Reserved.