Coverage Report - org.crosswire.jsword.versification.system.SystemKJVA
 
Classes in this File Line Coverage Branch Coverage Complexity
SystemKJVA
0%
0/6
N/A
1
 
 1  
 /**
 2  
  * Distribution License:
 3  
  * JSword is free software; you can redistribute it and/or modify it under
 4  
  * the terms of the GNU Lesser General Public License, version 2.1 or later
 5  
  * as published by the Free Software Foundation. This program is distributed
 6  
  * in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 7  
  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 8  
  * See the GNU Lesser General Public License for more details.
 9  
  *
 10  
  * The License is available on the internet at:
 11  
  *      http://www.gnu.org/copyleft/lgpl.html
 12  
  * or by writing to:
 13  
  *      Free Software Foundation, Inc.
 14  
  *      59 Temple Place - Suite 330
 15  
  *      Boston, MA 02111-1307, USA
 16  
  *
 17  
  * © CrossWire Bible Society, 2012 - 2016
 18  
  *
 19  
  */
 20  
 package org.crosswire.jsword.versification.system;
 21  
 
 22  
 import org.crosswire.jsword.versification.BibleBook;
 23  
 import org.crosswire.jsword.versification.Versification;
 24  
 
 25  
 /**
 26  
  *
 27  
  *
 28  
  * @see gnu.lgpl.License The GNU Lesser General Public License for details.
 29  
  * @author DM Smith
 30  
  */
 31  
 public class SystemKJVA extends Versification {
 32  
     /**
 33  
      * Build the "KJVA" Versification.
 34  
      */
 35  
     /* protected */ SystemKJVA() {
 36  0
         super(V11N_NAME, BOOKS_OT, BOOKS_NT, LAST_VERSE_OT, LAST_VERSE_NT);
 37  0
     }
 38  
 
 39  
     public static final String V11N_NAME = "KJVA";
 40  
 
 41  
     // SystemDefault.booksOT followed by
 42  
     // deuterocanonical books
 43  0
     /* protected */ static final BibleBook[] BOOKS_OT =
 44  
     {
 45  
         BibleBook.GEN,
 46  
         BibleBook.EXOD,
 47  
         BibleBook.LEV,
 48  
         BibleBook.NUM,
 49  
         BibleBook.DEUT,
 50  
         BibleBook.JOSH,
 51  
         BibleBook.JUDG,
 52  
         BibleBook.RUTH,
 53  
         BibleBook.SAM1,
 54  
         BibleBook.SAM2,
 55  
         BibleBook.KGS1,
 56  
         BibleBook.KGS2,
 57  
         BibleBook.CHR1,
 58  
         BibleBook.CHR2,
 59  
         BibleBook.EZRA,
 60  
         BibleBook.NEH,
 61  
         BibleBook.ESTH,
 62  
         BibleBook.JOB,
 63  
         BibleBook.PS,
 64  
         BibleBook.PROV,
 65  
         BibleBook.ECCL,
 66  
         BibleBook.SONG,
 67  
         BibleBook.ISA,
 68  
         BibleBook.JER,
 69  
         BibleBook.LAM,
 70  
         BibleBook.EZEK,
 71  
         BibleBook.DAN,
 72  
         BibleBook.HOS,
 73  
         BibleBook.JOEL,
 74  
         BibleBook.AMOS,
 75  
         BibleBook.OBAD,
 76  
         BibleBook.JONAH,
 77  
         BibleBook.MIC,
 78  
         BibleBook.NAH,
 79  
         BibleBook.HAB,
 80  
         BibleBook.ZEPH,
 81  
         BibleBook.HAG,
 82  
         BibleBook.ZECH,
 83  
         BibleBook.MAL,
 84  
         BibleBook.ESD1,
 85  
         BibleBook.ESD2,
 86  
         BibleBook.TOB,
 87  
         BibleBook.JDT,
 88  
         BibleBook.ADD_ESTH,
 89  
         BibleBook.WIS,
 90  
         BibleBook.SIR,
 91  
         BibleBook.BAR,
 92  
         BibleBook.PR_AZAR,
 93  
         BibleBook.SUS,
 94  
         BibleBook.BEL,
 95  
         BibleBook.PR_MAN,
 96  
         BibleBook.MACC1,
 97  
         BibleBook.MACC2,
 98  
     };
 99  
 
 100  0
     /* protected */ static final BibleBook[] BOOKS_NT = SystemDefault.BOOKS_NT;
 101  
 
 102  0
     /* protected */ static final int[][] LAST_VERSE_OT =
 103  
     {
 104  
         // Genesis
 105  
         {
 106  
            31,  25,  24,  26,  32,  22,  24,  22,  29,  32,
 107  
            32,  20,  18,  24,  21,  16,  27,  33,  38,  18,
 108  
            34,  24,  20,  67,  34,  35,  46,  22,  35,  43,
 109  
            55,  32,  20,  31,  29,  43,  36,  30,  23,  23,
 110  
            57,  38,  34,  34,  28,  34,  31,  22,  33,  26,
 111  
         },
 112  
         // Exodus
 113  
         {
 114  
            22,  25,  22,  31,  23,  30,  25,  32,  35,  29,
 115  
            10,  51,  22,  31,  27,  36,  16,  27,  25,  26,
 116  
            36,  31,  33,  18,  40,  37,  21,  43,  46,  38,
 117  
            18,  35,  23,  35,  35,  38,  29,  31,  43,  38,
 118  
         },
 119  
         // Leviticus
 120  
         {
 121  
            17,  16,  17,  35,  19,  30,  38,  36,  24,  20,
 122  
            47,   8,  59,  57,  33,  34,  16,  30,  37,  27,
 123  
            24,  33,  44,  23,  55,  46,  34,
 124  
         },
 125  
         // Numbers
 126  
         {
 127  
            54,  34,  51,  49,  31,  27,  89,  26,  23,  36,
 128  
            35,  16,  33,  45,  41,  50,  13,  32,  22,  29,
 129  
            35,  41,  30,  25,  18,  65,  23,  31,  40,  16,
 130  
            54,  42,  56,  29,  34,  13,
 131  
         },
 132  
         // Deuteronomy
 133  
         {
 134  
            46,  37,  29,  49,  33,  25,  26,  20,  29,  22,
 135  
            32,  32,  18,  29,  23,  22,  20,  22,  21,  20,
 136  
            23,  30,  25,  22,  19,  19,  26,  68,  29,  20,
 137  
            30,  52,  29,  12,
 138  
         },
 139  
         // Joshua
 140  
         {
 141  
            18,  24,  17,  24,  15,  27,  26,  35,  27,  43,
 142  
            23,  24,  33,  15,  63,  10,  18,  28,  51,   9,
 143  
            45,  34,  16,  33,
 144  
         },
 145  
         // Judges
 146  
         {
 147  
            36,  23,  31,  24,  31,  40,  25,  35,  57,  18,
 148  
            40,  15,  25,  20,  20,  31,  13,  31,  30,  48,
 149  
            25,
 150  
         },
 151  
         // Ruth
 152  
         {
 153  
            22,  23,  18,  22,
 154  
         },
 155  
         // I Samuel
 156  
         {
 157  
            28,  36,  21,  22,  12,  21,  17,  22,  27,  27,
 158  
            15,  25,  23,  52,  35,  23,  58,  30,  24,  42,
 159  
            15,  23,  29,  22,  44,  25,  12,  25,  11,  31,
 160  
            13,
 161  
         },
 162  
         // II Samuel
 163  
         {
 164  
            27,  32,  39,  12,  25,  23,  29,  18,  13,  19,
 165  
            27,  31,  39,  33,  37,  23,  29,  33,  43,  26,
 166  
            22,  51,  39,  25,
 167  
         },
 168  
         // I Kings
 169  
         {
 170  
            53,  46,  28,  34,  18,  38,  51,  66,  28,  29,
 171  
            43,  33,  34,  31,  34,  34,  24,  46,  21,  43,
 172  
            29,  53,
 173  
         },
 174  
         // II Kings
 175  
         {
 176  
            18,  25,  27,  44,  27,  33,  20,  29,  37,  36,
 177  
            21,  21,  25,  29,  38,  20,  41,  37,  37,  21,
 178  
            26,  20,  37,  20,  30,
 179  
         },
 180  
         // I Chronicles
 181  
         {
 182  
            54,  55,  24,  43,  26,  81,  40,  40,  44,  14,
 183  
            47,  40,  14,  17,  29,  43,  27,  17,  19,   8,
 184  
            30,  19,  32,  31,  31,  32,  34,  21,  30,
 185  
         },
 186  
         // II Chronicles
 187  
         {
 188  
            17,  18,  17,  22,  14,  42,  22,  18,  31,  19,
 189  
            23,  16,  22,  15,  19,  14,  19,  34,  11,  37,
 190  
            20,  12,  21,  27,  28,  23,   9,  27,  36,  27,
 191  
            21,  33,  25,  33,  27,  23,
 192  
         },
 193  
         // Ezra
 194  
         {
 195  
            11,  70,  13,  24,  17,  22,  28,  36,  15,  44,
 196  
         },
 197  
         // Nehemiah
 198  
         {
 199  
            11,  20,  32,  23,  19,  19,  73,  18,  38,  39,
 200  
            36,  47,  31,
 201  
         },
 202  
         // Esther
 203  
         {
 204  
            22,  23,  15,  17,  14,  14,  10,  17,  32,   3,
 205  
         },
 206  
         // Job
 207  
         {
 208  
            22,  13,  26,  21,  27,  30,  21,  22,  35,  22,
 209  
            20,  25,  28,  22,  35,  22,  16,  21,  29,  29,
 210  
            34,  30,  17,  25,   6,  14,  23,  28,  25,  31,
 211  
            40,  22,  33,  37,  16,  33,  24,  41,  30,  24,
 212  
            34,  17,
 213  
         },
 214  
         // Psalms
 215  
         {
 216  
             6,  12,   8,   8,  12,  10,  17,   9,  20,  18,
 217  
             7,   8,   6,   7,   5,  11,  15,  50,  14,   9,
 218  
            13,  31,   6,  10,  22,  12,  14,   9,  11,  12,
 219  
            24,  11,  22,  22,  28,  12,  40,  22,  13,  17,
 220  
            13,  11,   5,  26,  17,  11,   9,  14,  20,  23,
 221  
            19,   9,   6,   7,  23,  13,  11,  11,  17,  12,
 222  
             8,  12,  11,  10,  13,  20,   7,  35,  36,   5,
 223  
            24,  20,  28,  23,  10,  12,  20,  72,  13,  19,
 224  
            16,   8,  18,  12,  13,  17,   7,  18,  52,  17,
 225  
            16,  15,   5,  23,  11,  13,  12,   9,   9,   5,
 226  
             8,  28,  22,  35,  45,  48,  43,  13,  31,   7,
 227  
            10,  10,   9,   8,  18,  19,   2,  29, 176,   7,
 228  
             8,   9,   4,   8,   5,   6,   5,   6,   8,   8,
 229  
             3,  18,   3,   3,  21,  26,   9,   8,  24,  13,
 230  
            10,   7,  12,  15,  21,  10,  20,  14,   9,   6,
 231  
         },
 232  
         // Proverbs
 233  
         {
 234  
            33,  22,  35,  27,  23,  35,  27,  36,  18,  32,
 235  
            31,  28,  25,  35,  33,  33,  28,  24,  29,  30,
 236  
            31,  29,  35,  34,  28,  28,  27,  28,  27,  33,
 237  
            31,
 238  
         },
 239  
         // Ecclesiastes
 240  
         {
 241  
            18,  26,  22,  16,  20,  12,  29,  17,  18,  20,
 242  
            10,  14,
 243  
         },
 244  
         // Song of Solomon
 245  
         {
 246  
            17,  17,  11,  16,  16,  13,  13,  14,
 247  
         },
 248  
         // Isaiah
 249  
         {
 250  
            31,  22,  26,   6,  30,  13,  25,  22,  21,  34,
 251  
            16,   6,  22,  32,   9,  14,  14,   7,  25,   6,
 252  
            17,  25,  18,  23,  12,  21,  13,  29,  24,  33,
 253  
             9,  20,  24,  17,  10,  22,  38,  22,   8,  31,
 254  
            29,  25,  28,  28,  25,  13,  15,  22,  26,  11,
 255  
            23,  15,  12,  17,  13,  12,  21,  14,  21,  22,
 256  
            11,  12,  19,  12,  25,  24,
 257  
         },
 258  
         // Jeremiah
 259  
         {
 260  
            19,  37,  25,  31,  31,  30,  34,  22,  26,  25,
 261  
            23,  17,  27,  22,  21,  21,  27,  23,  15,  18,
 262  
            14,  30,  40,  10,  38,  24,  22,  17,  32,  24,
 263  
            40,  44,  26,  22,  19,  32,  21,  28,  18,  16,
 264  
            18,  22,  13,  30,   5,  28,   7,  47,  39,  46,
 265  
            64,  34,
 266  
         },
 267  
         // Lamentations
 268  
         {
 269  
            22,  22,  66,  22,  22,
 270  
         },
 271  
         // Ezekiel
 272  
         {
 273  
            28,  10,  27,  17,  17,  14,  27,  18,  11,  22,
 274  
            25,  28,  23,  23,   8,  63,  24,  32,  14,  49,
 275  
            32,  31,  49,  27,  17,  21,  36,  26,  21,  26,
 276  
            18,  32,  33,  31,  15,  38,  28,  23,  29,  49,
 277  
            26,  20,  27,  31,  25,  24,  23,  35,
 278  
         },
 279  
         // Daniel
 280  
         {
 281  
            21,  49,  30,  37,  31,  28,  28,  27,  27,  21,
 282  
            45,  13,
 283  
         },
 284  
         // Hosea
 285  
         {
 286  
            11,  23,   5,  19,  15,  11,  16,  14,  17,  15,
 287  
            12,  14,  16,   9,
 288  
         },
 289  
         // Joel
 290  
         {
 291  
            20,  32,  21,
 292  
         },
 293  
         // Amos
 294  
         {
 295  
            15,  16,  15,  13,  27,  14,  17,  14,  15,
 296  
         },
 297  
         // Obadiah
 298  
         {
 299  
            21,
 300  
         },
 301  
         // Jonah
 302  
         {
 303  
            17,  10,  10,  11,
 304  
         },
 305  
         // Micah
 306  
         {
 307  
            16,  13,  12,  13,  15,  16,  20,
 308  
         },
 309  
         // Nahum
 310  
         {
 311  
            15,  13,  19,
 312  
         },
 313  
         // Habakkuk
 314  
         {
 315  
            17,  20,  19,
 316  
         },
 317  
         // Zephaniah
 318  
         {
 319  
            18,  15,  20,
 320  
         },
 321  
         // Haggai
 322  
         {
 323  
            15,  23,
 324  
         },
 325  
         // Zechariah
 326  
         {
 327  
            21,  13,  10,  14,  11,  15,  14,  23,  17,  12,
 328  
            17,  14,   9,  21,
 329  
         },
 330  
         // Malachi
 331  
         {
 332  
            14,  17,  18,   6,
 333  
         },
 334  
         // I Esdras
 335  
         {
 336  
            58,  30,  24,  63,  73,  34,  15,  96,  55,
 337  
         },
 338  
         // II Esdras
 339  
         {
 340  
            40,  48,  36,  52,  56,  59,  70,  63,  47,  59,
 341  
            46,  51,  58,  48,  63,  78,
 342  
         },
 343  
         // Tobit
 344  
         {
 345  
            22,  14,  17,  21,  22,  17,  18,  21,   6,  12,
 346  
            19,  22,  18,  15,
 347  
         },
 348  
         // Judith
 349  
         {
 350  
            16,  28,  10,  15,  24,  21,  32,  36,  14,  23,
 351  
            23,  20,  20,  19,  13,  25,
 352  
         },
 353  
         // Additions to Esther
 354  
         {
 355  
             1,   1,   1,   1,   1,   1,   1,   1,   1,  13,
 356  
            12,   6,  18,  19,  16,  24,
 357  
         },
 358  
         // Wisdom
 359  
         {
 360  
            16,  24,  19,  20,  23,  25,  30,  21,  18,  21,
 361  
            26,  27,  19,  31,  19,  29,  21,  25,  22,
 362  
         },
 363  
         // Sirach
 364  
         {
 365  
            30,  18,  31,  31,  15,  37,  36,  19,  18,  31,
 366  
            34,  18,  26,  27,  20,  30,  32,  33,  30,  32,
 367  
            28,  27,  28,  34,  26,  29,  30,  26,  28,  25,
 368  
            31,  24,  31,  26,  20,  26,  31,  34,  35,  30,
 369  
            24,  25,  33,  22,  26,  20,  25,  25,  16,  29,
 370  
            30,
 371  
         },
 372  
         // Baruch
 373  
         {
 374  
            22,  35,  37,  37,   9,  73,
 375  
         },
 376  
         // Prayer of Azariah
 377  
         {
 378  
            68,
 379  
         },
 380  
         // Susanna
 381  
         {
 382  
            64,
 383  
         },
 384  
         // Bel and the Dragon
 385  
         {
 386  
            42,
 387  
         },
 388  
         // Prayer of Manasses
 389  
         {
 390  
             1,
 391  
         },
 392  
         // I Maccabees
 393  
         {
 394  
            64,  70,  60,  61,  68,  63,  50,  32,  73,  89,
 395  
             74,  53,  53,  49,  41,  24,
 396  
         },
 397  
         // II Maccabees
 398  
         {
 399  
            36,  32,  40,  50,  27,  31,  42,  36,  29,  38,
 400  
            38,  45,  26,  46,  39,
 401  
         },
 402  
     };
 403  
 
 404  0
     /* protected */ static final int[][] LAST_VERSE_NT = SystemKJV.LAST_VERSE_NT;
 405  
 
 406  
     /**
 407  
      * Serialization ID
 408  
      */
 409  
     private static final long serialVersionUID = 1054681694714921358L;
 410  
 }