edu.umd.cs.findbugs
Class CountBugs.KingdomAndPriorityKey

java.lang.Object
  extended by edu.umd.cs.findbugs.CountBugs.KingdomAndPriorityKey
All Implemented Interfaces:
CountBugs.Key, java.lang.Comparable<CountBugs.Key>
Enclosing class:
CountBugs

private static class CountBugs.KingdomAndPriorityKey
extends java.lang.Object
implements CountBugs.Key


Field Summary
private  java.lang.String legend
           
 
Constructor Summary
CountBugs.KingdomAndPriorityKey(java.lang.String legend)
           
CountBugs.KingdomAndPriorityKey(java.lang.String kingdom, int prio)
           
 
Method Summary
 int compareTo(CountBugs.Key o)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

legend

private java.lang.String legend
Constructor Detail

CountBugs.KingdomAndPriorityKey

public CountBugs.KingdomAndPriorityKey(java.lang.String legend)

CountBugs.KingdomAndPriorityKey

public CountBugs.KingdomAndPriorityKey(java.lang.String kingdom,
                                       int prio)
Method Detail

compareTo

public int compareTo(CountBugs.Key o)
Specified by:
compareTo in interface java.lang.Comparable<CountBugs.Key>

hashCode

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object