Debian Codegraph @

src/uk/me/parabola/imgfmt/app/mdr/Mdr8Record.java

raw symbols SCIP
1 /*
2 * Copyright (C) 2011.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 3 or
6 * version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 */
13 package uk.me.parabola.imgfmt.app.mdr;
14
15 /**
16 * This section is a simple index into the streets section (mdr7).
17 *
18 * @author Steve Ratcliffe
19 */
20 public class Mdr8Record {
21 private final char[] prefix;
22 private final int recordNumber;
23
24
25 public Mdr8Record(char[] prefix, int recordNumber) {
26 this.prefix = prefix;
27 this.recordNumber = recordNumber;
28 }
29
30 public char[] getPrefix() {
31 return prefix;
32 }
33
34 public int getRecordNumber() {
35 return recordNumber;
36 }
37 }