org.crosswire.jsword.passage
Class PassageTally.TalliedVerseRange

java.lang.Object
  extended by 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


Field Summary
protected  VerseRange range
          The verse range
protected  int tally
          The rank of the verse
 
Constructor Summary
PassageTally.TalliedVerseRange(VerseRange range, int tally)
          Convenience ctor to set the public variables
 
Method Summary
 int compareTo(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

range

protected VerseRange range
The verse range


tally

protected int tally
The rank of the verse

Constructor Detail

PassageTally.TalliedVerseRange

public PassageTally.TalliedVerseRange(VerseRange range,
                                      int tally)
Convenience ctor to set the public variables

Parameters:
range - The verserange
tally - The rank of the verse
Method Detail

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable

Copyright ยจ 2003-2006