10
10
import org.crosswire.jsword.passage.Books;
13
* A CaseInstsMem provides access to the list of case ids that
14
* make up a Passage. The central interface is an array of cases
15
* of words in the given verse.
16
* <p>This is different from WordInsts and PuncInsts
17
* in that there is no CaseInsts. This is because there are only
18
* 4 cases worthy of note, and they are all well defined in
20
* <p>Storing these 4 cases takes 2 bits per word, 4 words per byte.
22
* <table border='1' cellPadding='3' cellSpacing='0' width="100%">
23
* <tr><td bgColor='white'class='TableRowColor'><font size='-7'>
24
* Distribution Licence:<br />
25
* Project B is free software; you can redistribute it
26
* and/or modify it under the terms of the GNU General Public License,
27
* version 2 as published by the Free Software Foundation.<br />
28
* This program is distributed in the hope that it will be useful,
29
* but WITHOUT ANY WARRANTY; without even the implied warranty of
30
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
31
* General Public License for more details.<br />
32
* The License is available on the internet
33
* <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, by writing to
34
* <i>Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
35
* MA 02111-1307, USA</i>, Or locally at the Licence link below.<br />
36
* The copyright to this program is held by it's authors.
37
* </font></td></tr></table>
38
* @see <a href='http://www.eireneh.com/servlets/Web'>Project B Home</a>
39
* @see <{docs.Licence}>
40
* @see PassageUtil#getCase(String)
41
* @see PassageUtil#setCase(String,int)
13
* A CaseInstsMem provides access to the list of case ids that
14
* make up a Passage. The central interface is an array of cases
15
* of words in the given verse.
16
* <p>This is different from WordInsts and PuncInsts
17
* in that there is no CaseInsts. This is because there are only
18
* 4 cases worthy of note, and they are all well defined in
20
* <p>Storing these 4 cases takes 2 bits per word, 4 words per byte.
22
* <p><table border='1' cellPadding='3' cellSpacing='0'>
23
* <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
25
* Distribution Licence:<br />
26
* JSword is free software; you can redistribute it
27
* and/or modify it under the terms of the GNU General Public License,
28
* version 2 as published by the Free Software Foundation.<br />
29
* This program is distributed in the hope that it will be useful,
30
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
32
* General Public License for more details.<br />
33
* The License is available on the internet
34
* <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
35
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
36
* MA 02111-1307, USA<br />
37
* The copyright to this program is held by it's authors.
38
* </font></td></tr></table>
40
* @author Joe Walker [joe at eireneh dot com]
42
* @see PassageUtil#getCase(String)
43
* @see PassageUtil#setCase(String,int)
45
45
public class CaseInstsMem extends InstsMem