MATSIM
counts
algorithms
graphs
helper
Section.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.*
3
* Section.java
4
* *
5
* *********************************************************************** *
6
* *
7
* copyright : (C) 2007 by the members listed in the COPYING, *
8
* LICENSE and WARRANTY file. *
9
* email : info at matsim dot org *
10
* *
11
* *********************************************************************** *
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* See also COPYING, LICENSE and WARRANTY file *
18
* *
19
* *********************************************************************** */
20
21
package
org.matsim.counts.algorithms.graphs.helper;
22
23
import
java.util.List;
24
import
java.util.Vector;
25
26
public
class
Section
{
27
private
final
String
title_
;
28
private
List<MyURL>
urls_
;
29
30
public
Section
(String title) {
31
this.urls_=
new
Vector<MyURL>();
32
this.title_=title;
33
}
34
35
public
void
addURL
(
MyURL
url){
36
this.urls_.add(url);
37
}
38
39
public
String
getTitle
() {
40
return
this.
title_
;
41
}
42
43
public
List<MyURL>
getURLs
() {
44
return
this.
urls_
;
45
}
46
}
org.matsim.counts.algorithms.graphs.helper.Section.addURL
void addURL(MyURL url)
Definition:
Section.java:35
org.matsim.counts.algorithms.graphs.helper.Section.urls_
List< MyURL > urls_
Definition:
Section.java:28
org.matsim.counts.algorithms.graphs.helper.Section
Definition:
Section.java:26
org.matsim.counts.algorithms.graphs.helper.Section.title_
final String title_
Definition:
Section.java:27
org.matsim.counts.algorithms.graphs.helper.Section.Section
Section(String title)
Definition:
Section.java:30
org.matsim.counts.algorithms.graphs.helper.Section.getTitle
String getTitle()
Definition:
Section.java:39
org.matsim.counts.algorithms.graphs.helper.MyURL
Definition:
MyURL.java:23
org.matsim.counts.algorithms.graphs.helper.Section.getURLs
List< MyURL > getURLs()
Definition:
Section.java:43
Generated by
1.8.13