public enum PassageListType extends Enum<PassageListType>
The GNU Lesser General Public License for details.
Enum Constant and Description |
---|
RANGES
Passage to be interpreted as a list of ranges.
|
VERSES
Passage to be interpreted as a list of verses.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
count(Passage ref,
RestrictionType restrict) |
abstract Object |
getElementAt(Passage ref,
int index,
RestrictionType restrict) |
static PassageListType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PassageListType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PassageListType VERSES
public static final PassageListType RANGES
public static PassageListType[] values()
for (PassageListType c : PassageListType.values()) System.out.println(c);
public static PassageListType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic abstract Object getElementAt(Passage ref, int index, RestrictionType restrict)
public abstract int count(Passage ref, RestrictionType restrict)