|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.passage.PassageType
public abstract class PassageType
Types of Passage optimizations.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormField Summary | |
---|---|
static PassageType |
MIX
Optimize the Passage for a mix |
private String |
name
The name of the PassageListType |
private static int |
nextObj
|
private int |
obj
|
static PassageType |
SIZE
Optimize the Passage for size |
static PassageType |
SPEED
Optimize the Passage for speed |
static PassageType |
TALLY
Optimize the Passage for tally operations |
private static PassageType[] |
VALUES
|
static PassageType |
WRITE_SPEED
Optimize the Passage for write speed |
Constructor Summary | |
---|---|
PassageType(String name)
Simple ctor |
Method Summary | |
---|---|
abstract Passage |
createEmptyPassage()
Create an empty, optimized passage |
abstract Passage |
createPassage(String passage)
Create an optimized passage |
boolean |
equals(Object o)
Prevent subclasses from overriding canonical identity based Object methods |
static PassageType |
fromInteger(int i)
Lookup method to convert from an integer |
static PassageType |
fromString(String name)
Lookup method to convert from a String |
int |
hashCode()
Prevent subclasses from overriding canonical identity based Object methods |
(package private) Object |
readResolve()
|
static int |
toInteger(PassageType type)
Lookup method to convert from an integer |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PassageType SPEED
public static final PassageType WRITE_SPEED
public static final PassageType SIZE
public static final PassageType MIX
public static final PassageType TALLY
private String name
private static int nextObj
private final int obj
private static final PassageType[] VALUES
Constructor Detail |
---|
public PassageType(String name)
Method Detail |
---|
public abstract Passage createPassage(String passage) throws NoSuchVerseException
passage
-
NoSuchVerseException
public abstract Passage createEmptyPassage()
NoSuchVerseException
public static PassageType fromString(String name)
public static PassageType fromInteger(int i)
public static int toInteger(PassageType type)
public final boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public final int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object readResolve()
|
Copyright ยจ 2003-2007 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |