/[zanavi_public1]/navit/navit/android/src/de/oberoner/gpx2navit_txt/NavitTrkptList.java
ZANavi

Contents of /navit/navit/android/src/de/oberoner/gpx2navit_txt/NavitTrkptList.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (show annotations) (download)
Sun Jun 17 08:12:47 2012 UTC (11 years, 9 months ago) by zoff99
File size: 2134 byte(s)
lots of new stuff and fixes
1 /**
2 * ZANavi, Zoff Android Navigation system.
3 * Copyright (C) 2012 Zoff <zoff@zoff.cc>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * version 2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20 /**
21 * Copyright (C) 2011 Dipl.-Ing.(FH) Thomas Schindel, Bad Elster
22 *
23 * This program is free software; you can redistribute it and/or
24 * modify it under the terms of the GNU General Public License
25 * version 2 as published by the Free Software Foundation.
26 *
27 * This program is distributed in the hope that it will be useful,
28 * but WITHOUT ANY WARRANTY; without even the implied warranty of
29 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 * GNU General Public License for more details.
31 *
32 * You should have received a copy of the GNU General Public License
33 * along with this program; if not, write to the
34 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
35 * Boston, MA 02110-1301, USA.
36 */
37
38 package de.oberoner.gpx2navit_txt;
39
40 import java.util.Vector;
41
42 /**
43 * Created by IntelliJ IDEA.
44 * User: Dipl.-Ing.(FH) Thomas Schindel, Bad Elster
45 * Date: 16.10.11
46 * Time: 13:05
47 * To change this template use File | Settings | File Templates.
48 */
49 public class NavitTrkptList
50 {
51
52 protected Vector<NavitTrkptRec> navitTrkptList;
53
54 // Konstruktor
55 public NavitTrkptList()
56 {
57 navitTrkptList = new Vector<NavitTrkptRec>();
58 }
59
60 public int size()
61 {
62 return navitTrkptList.size();
63 }
64
65 public NavitTrkptRec get(int index)
66 {
67 return navitTrkptList.get(index);
68 }
69
70 public void add(NavitTrkptRec listItem)
71 {
72 navitTrkptList.add(listItem);
73 }
74
75 }

   
Visit the ZANavi Wiki