edu.umd.cs.findbugs
Class CountBugs.KingdomAndPriorityKey
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
legend
private java.lang.String legend
CountBugs.KingdomAndPriorityKey
public CountBugs.KingdomAndPriorityKey(java.lang.String legend)
CountBugs.KingdomAndPriorityKey
public CountBugs.KingdomAndPriorityKey(java.lang.String kingdom,
int prio)
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