|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IQuranLocation
An immutable interface for a Quran location.
Method Summary | |
---|---|
int |
getAbsoluteAya()
Counts the aya number from the start of the Quran. |
int |
getAya()
|
IQuranLocation |
getNext()
Returns the next location (sura-aya pair). |
IQuranLocation |
getPrev()
Returns the previous location (sura-aya pair). |
int |
getSura()
|
java.lang.String |
getSuraName()
|
java.lang.String |
getSuraName(boolean localize)
|
boolean |
isValid()
|
java.lang.String |
toSortableString()
Pads the sura/aya number so that all strings are of the same width and sortable. |
java.lang.String |
toString()
Makes a string representation of this class as: sura#-aya# |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
int getAya()
int getSura()
java.lang.String getSuraName()
java.lang.String getSuraName(boolean localize)
localize
- specifies whether or not to localize sura name
localize
parameter is true).int getAbsoluteAya()
IQuranLocation getNext()
null
if there is nothingIQuranLocation getPrev()
null
if there is nothingjava.lang.String toSortableString()
boolean isValid()
java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |