|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.passage.DefaultLeafKeyList
org.crosswire.jsword.book.readings.ReadingsKey
public class ReadingsKey
For a readings dictionary the keys are dates.
The GNU Lesser General Public License for details.,
Serialized Form| Field Summary | |
|---|---|
private Date |
date
The day of the year for the readings |
private static MessageFormat |
KEY_FORMAT
Date formatter |
private static long |
serialVersionUID
Serialization ID |
| Constructor Summary | |
|---|---|
protected |
ReadingsKey(Date date)
Simple Constructor. |
protected |
ReadingsKey(String text,
String osisName,
Key parent)
Simple Constructor. |
| Method Summary | |
|---|---|
ReadingsKey |
clone()
This needs to be declared here so that it is visible as a method on a derived Key. |
int |
compareTo(Key obj)
|
boolean |
equals(Object obj)
This needs to be declared here so that it is visible as a method on a derived Key. |
static String |
external2internal(Calendar externalKey)
Convert the Gregorian Calendar to a string. |
int |
hashCode()
This needs to be declared here so that it is visible as a method on a derived Key. |
| Methods inherited from class org.crosswire.jsword.passage.DefaultLeafKeyList |
|---|
addAll, blur, canHaveChildren, clear, contains, get, getCardinality, getChildCount, getName, getName, getOsisID, getOsisRef, getParent, getRootName, indexOf, isEmpty, iterator, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private Date date
private static final MessageFormat KEY_FORMAT
private static final long serialVersionUID
| Constructor Detail |
|---|
protected ReadingsKey(String text,
String osisName,
Key parent)
text - The textual version of the date for these readings in the
format "d mmmm"osisName - The OSIS id of this Keyparent - This Key's parent (or null of this Key has no parent)protected ReadingsKey(Date date)
date - The date for this key| Method Detail |
|---|
public boolean equals(Object obj)
Key
equals in interface Keyequals in class DefaultLeafKeyListpublic int hashCode()
Key
hashCode in interface KeyhashCode in class DefaultLeafKeyListpublic int compareTo(Key obj)
compareTo in interface Comparable<Key>compareTo in class DefaultLeafKeyListpublic ReadingsKey clone()
Key
clone in interface Keyclone in class DefaultLeafKeyListpublic static String external2internal(Calendar externalKey)
externalKey -
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||