org.crosswire.jsword.passage
Class PassageTally.TalliedVerseRange
java.lang.Object
org.crosswire.jsword.passage.PassageTally.TalliedVerseRange
- All Implemented Interfaces:
- Comparable
- Enclosing class:
- PassageTally
private static class PassageTally.TalliedVerseRange
- extends Object
- implements Comparable
Hack to make this work with JDK1.1 as well as JDK1.2
This compared 2 Integers
range
protected VerseRange range
- The verse range
tally
protected int tally
- The rank of the verse
PassageTally.TalliedVerseRange
public PassageTally.TalliedVerseRange(VerseRange range,
int tally)
- Convenience ctor to set the public variables
- Parameters:
range
- The verserangetally
- The rank of the verse
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interface Comparable